This particular test would never pass unless you had GOROOT set in your
environment. This changes makes the test use the baked-in GOROOT, as it
does with GOOS and GOARCH.
R=golang-dev, dave, iant
CC=golang-dev
https://golang.org/cl/
43080043
ok=true
allok=true
-unset GOPATH
unset GOBIN
+unset GOPATH
+unset GOROOT
TEST 'file:line in error messages'
# Test that error messages have file:line information at beginning of
fi
TEST godoc installs into GOROOT
+GOROOT=$(./testgo env GOROOT)
rm -f $GOROOT/bin/godoc
./testgo install code.google.com/p/go.tools/cmd/godoc
if [ ! -x $GOROOT/bin/godoc ]; then