]> Cypherpunks repositories - gostls13.git/commitdiff
do use $$ in path names, so that multiple
authorRuss Cox <rsc@golang.org>
Wed, 17 Jun 2009 20:21:01 +0000 (13:21 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 17 Jun 2009 20:21:01 +0000 (13:21 -0700)
runs on the same machine don't collide.

R=r
DELTA=4  (0 added, 1 deleted, 3 changed)
OCL=30426
CL=30429

test/run

index 63dca3b42aaf8dc19a026f55f93bc8dcf1fe849a..9ef2746d38a52c2e0bfb1ab8f33a06746d8a965f 100755 (executable)
--- 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.