diff -r 8f87e072151f libgo/testsuite/gotest
--- a/libgo/testsuite/gotest	Mon Jul 19 01:42:34 2010 -0700
+++ b/libgo/testsuite/gotest	Tue Jul 20 05:21:29 2010 -0700
@@ -8,6 +8,12 @@
 # tests.
 # If files are named on the command line, use them instead of test*.go.
 
+# Makes egrep,grep work better in general if we put them
+# in ordinary C mode instead of what the current language is.
+unset LANG
+export LC_ALL=C
+export LC_CTYPE=C
+
 GC=${GC:-gccgo}
 GL=${GL:-${GC-gccgo}}
 GOLIBS=${GOLIBS:=-lgotesting}
