From 306c8e8b4fec79a581f2cad7b160ba6f61f600ac Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 19 Apr 2002 21:55:30 +0000 Subject: Lots of clean-up: E.g., (exit $fail); exit t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0 --- tests/cp/cp-mv-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cp/cp-mv-backup') diff --git a/tests/cp/cp-mv-backup b/tests/cp/cp-mv-backup index 1baadc66b..77f62fa6b 100755 --- a/tests/cp/cp-mv-backup +++ b/tests/cp/cp-mv-backup @@ -88,4 +88,4 @@ cmp $expected $actual || fail=1 # Uncomment this if you see a failure and want to try to diagnose it. test $fail = 1 && diff -c $expected $actual 1>&2 -exit $fail +(exit $fail); exit -- cgit v1.2.3-70-g09d2