summaryrefslogtreecommitdiff
path: root/test/run
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-06-17 13:21:01 -0700
committerRuss Cox <rsc@golang.org>2009-06-17 13:21:01 -0700
commit9dd8950935f7b0affaf6c62f20c1c2b0cfd84700 (patch)
treefbd39207affed13bcaaf84406f0fcb222ec91b9a /test/run
parent3d6f61c2dcc599345c0f099ce7ebd8bfb092f7d9 (diff)
downloadgo-9dd8950935f7b0affaf6c62f20c1c2b0cfd84700.tar.gz
do use $$ in path names, so that multiple
runs on the same machine don't collide. R=r DELTA=4 (0 added, 1 deleted, 3 changed) OCL=30426 CL=30429
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/run b/test/run
index 63dca3b42..9ef2746d3 100755
--- a/test/run
+++ b/test/run
@@ -26,10 +26,9 @@ failed=0
PATH=/bin:/usr/bin:$HOME/bin:`pwd`
-# don't use $$ in file names to avoid spurious diffs
-RUNFILE=/tmp/gorun-$USER
-TMP1FILE=/tmp/gotest1-$USER
-TMP2FILE=/tmp/gotest2-$USER
+RUNFILE=/tmp/gorun-$$-$USER
+TMP1FILE=/tmp/gotest1-$$-$USER
+TMP2FILE=/tmp/gotest2-$$-$USER
# don't run the machine out of memory: limit individual processes to 4GB.
# on thresher, 3GB suffices to run the tests; with 2GB, peano fails.