From 940281bd3c4f3cb323ff39041ac440779fade828 Mon Sep 17 00:00:00 2001 From: Luuk van Dijk Date: Wed, 24 Aug 2011 16:12:20 +0200 Subject: [PATCH] test: put GOROOT/bin before all others in run If you installed a 6g in /usr/bin it interferes with test/run otherwise. R=rsc CC=golang-dev https://golang.org/cl/4944046 --- test/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run b/test/run index bc31d2f714..d6f57272c7 100755 --- a/test/run +++ b/test/run @@ -31,7 +31,7 @@ unset GREP_OPTIONS # in case user has a non-standard set failed=0 -PATH=/bin:/usr/bin:/usr/local/bin:${GOBIN:-$GOROOT/bin}:`pwd` +PATH=${GOBIN:-$GOROOT/bin}:`pwd`:/bin:/usr/bin:/usr/local/bin RUNFILE="/tmp/gorun-$$-$USER" TMP1FILE="/tmp/gotest1-$$-$USER"