From c175e3f6c86206b676658c181556fc9b15f25f88 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 20 Apr 2002 14:49:46 +0000 Subject: update framework --- tests/rm/r-2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/rm/r-2') diff --git a/tests/rm/r-2 b/tests/rm/r-2 index f4ddeb650..e87e9cf80 100755 --- a/tests/rm/r-2 +++ b/tests/rm/r-2 @@ -8,12 +8,12 @@ fi . $srcdir/../lang-default pwd=`pwd` -tmp=r2-$$ -trap 'status=$?; cd $pwd; rm -rf $tmp || exit $?; exit $status' 0 +t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$ +trap 'status=$?; cd $pwd; rm -rf $t0 || exit $?; exit $status' 0 trap 'exit $?' 1 2 13 15 framework_failure=0 -mkdir $tmp || framework_failure=1 +mkdir -p $tmp || framework_failure=1 cd $tmp mkdir t t/a t/a/b || framework_failure=1 -- cgit v1.2.3-70-g09d2