Use this:
authorJim Meyering <jim@meyering.net>
Fri, 19 Apr 2002 22:50:36 +0000 (22:50 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 19 Apr 2002 22:50:36 +0000 (22:50 +0000)
  (exit $fail); exit
not this:
  exit $fail

tests/rm/deep-1
tests/rm/f-1
tests/rm/hash
tests/rm/i-1
tests/rm/ir-1
tests/rm/r-2
tests/rm/r-3
tests/rm/sunos-1

index 44d7c94..fc000f2 100755 (executable)
@@ -45,4 +45,4 @@ echo done
 # Make sure all of $tmp was deleted.
 test -d $tmp && fail=1
 
-exit $fail
+(exit $fail); exit
index da79b72..4e72f57 100755 (executable)
@@ -23,4 +23,4 @@ fi
 fail=0
 rm -f $tmp/no-such-file || fail=1
 
-exit $fail
+(exit $fail); exit
index 25d92f5..505cb9b 100755 (executable)
@@ -37,4 +37,4 @@ fail=0
 
 rm -r t || fail=1
 
-exit $fail
+(exit $fail); exit
index 099c1bd..b0b90ce 100755 (executable)
@@ -36,4 +36,4 @@ test -f $tmp/a && fail=1
 
 rm -rf $tmp
 
-exit $fail
+(exit $fail); exit
index 19a8752..c127a1c 100755 (executable)
@@ -54,4 +54,4 @@ esac
 
 rm -rf $tmp $test.I
 
-exit $fail
+(exit $fail); exit
index f341b30..f4ddeb6 100755 (executable)
@@ -47,4 +47,4 @@ fi
 # Compare expected and actual output.
 cmp t/E t/O || fail=1
 
-exit $fail
+(exit $fail); exit
index 96cb884..1a5c073 100755 (executable)
@@ -39,4 +39,4 @@ fail=0
 rm -rf $tmp || fail=1
 test -d $tmp && fail=1
 
-exit $fail
+(exit $fail); exit
index 0cb7311..e00a61b 100755 (executable)
@@ -35,4 +35,4 @@ $RM -r '' > /dev/null 2>&1 && fail=1
 cd ..
 rm -rf $tmp
 
-exit $fail
+(exit $fail); exit