From: Russ Cox Date: Wed, 11 Nov 2009 03:56:32 +0000 (-0800) Subject: gotest: avoid problems with grepping for · X-Git-Tag: weekly.2009-11-10.1~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9604f7b00974ca31cacf5b69e2cbf4cc23531a50;p=gostls13.git gotest: avoid problems with grepping for · Fixes #7. R=r CC=golang-dev https://golang.org/cl/154043 --- 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