src/cmd/gotest/gotest | 5 +++++ diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest index 4f6c6c2783ba303a30bd5164a442bd277685ec58..956a67965acb2490a12211e82e26e4a9388e91dc 100755 --- a/src/cmd/gotest/gotest +++ b/src/cmd/gotest/gotest @@ -8,6 +8,11 @@ # _testmain.go that runs all its tests. Compile everything and run the # 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