Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/run-tests @ 776:7635a3f14ad4
Add template to mktemp call
Based on a patch from Soh Tk-r28629
author | mpm@selenic.com |
---|---|
date | Tue, 26 Jul 2005 19:27:05 -0800 |
parents | 7e4843b7efd2 |
children | f199e1887889 |
comparison
equal
deleted
inserted
replaced
775:122449dd89db | 776:7635a3f14ad4 |
---|---|
45 | 45 |
46 function run_one | 46 function run_one |
47 { | 47 { |
48 rm -f $1.err | 48 rm -f $1.err |
49 export TZ=GMT | 49 export TZ=GMT |
50 D=`mktemp -d` | 50 D=`mktemp -d -t tmp.XXXXXX` |
51 if [ "$D" = "" ] ; then | 51 if [ "$D" = "" ] ; then |
52 echo mktemp failed! | 52 echo mktemp failed! |
53 fi | 53 fi |
54 | 54 |
55 cd $D | 55 cd $D |