From a7d1d17be0f5243b2a82971ac3647139418013a4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 1 Jul 2002 09:41:20 +0000 Subject: update to use prologue from sample-test --- tests/cp/fail-perm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/cp/fail-perm') diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm index 468b0c983..474a84b4d 100755 --- a/tests/cp/fail-perm +++ b/tests/cp/fail-perm @@ -6,9 +6,9 @@ if test "$VERBOSE" = yes; then fi pwd=`pwd` -t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$ -trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0 -trap 'exit $?' 1 2 13 15 +t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ +trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0 +trap '(exit $?); exit' 1 2 13 15 framework_failure=0 mkdir -p $tmp || framework_failure=1 -- cgit v1.2.3-70-g09d2