From 9604f7b00974ca31cacf5b69e2cbf4cc23531a50 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 10 Nov 2009 19:56:32 -0800 Subject: [PATCH] =?utf8?q?gotest:=20avoid=20problems=20with=20grepping=20f?= =?utf8?q?or=20=C2=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes #7. R=r CC=golang-dev https://golang.org/cl/154043 --- src/cmd/gotest/gotest | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest index 4f6c6c2783..956a67965a 100755 --- a/src/cmd/gotest/gotest +++ b/src/cmd/gotest/gotest @@ -8,6 +8,11 @@ # tests. # If files are named on the command line, use them instead of test*.go. +# Makes egrep,grep work better with · if we put them +# in ordinary C mode instead of what the current language is. +unset LANG +export LC_CTYPE=C + _GC=$GC # Make.$GOARCH will overwrite this . $GOROOT/src/Make.$GOARCH -- 2.50.0