aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-11-10 19:56:32 -0800
committerRuss Cox <rsc@golang.org>2009-11-10 19:56:32 -0800
commit9604f7b00974ca31cacf5b69e2cbf4cc23531a50 (patch)
tree7f1c0c8d184e67237d74727676e94f7f6aa03c5d
parent4a29a733ec2e8bdb7c271d665c1d1dfce99916cf (diff)
downloadgo-9604f7b00974ca31cacf5b69e2cbf4cc23531a50.tar.gz
go-9604f7b00974ca31cacf5b69e2cbf4cc23531a50.zip
gotest: avoid problems with grepping for ·
Fixes #7. R=r CC=golang-dev https://golang.org/cl/154043
-rwxr-xr-xsrc/cmd/gotest/gotest5
1 files changed, 5 insertions, 0 deletions
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