diff options
Diffstat (limited to 'tests/rm/ir-1')
-rwxr-xr-x | tests/rm/ir-1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rm/ir-1 b/tests/rm/ir-1 index c127a1cdf..c5d76cde7 100755 --- a/tests/rm/ir-1 +++ b/tests/rm/ir-1 @@ -8,12 +8,12 @@ if test "$VERBOSE" = yes; then fi pwd=`pwd` -tmp=`echo "$0"|sed 's,.*/,,'`.tmp -trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0 +t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$ +trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 test_failure=0 -mkdir $tmp $tmp/a $tmp/b $tmp/c || test_failure=1 +mkdir -p $tmp $tmp/a $tmp/b $tmp/c || test_failure=1 > $tmp/a/a || test_failure=1 > $tmp/b/bb || test_failure=1 > $tmp/c/cc || test_failure=1 |