summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4f6c6c278..956a67965 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