]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
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 44d7c940757aff0ef0325308c36be9ace1c5f318..fc000f2ca759e8bc8691049d6eccd2f0c333cb67 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 da79b722912514bb9ce5d910dd7f580b8152b930..4e72f575c5fe12747ae00b4594d5a9e910d86f04 100755 (executable)
@@ -23,4 +23,4 @@ fi
 fail=0
 rm -f $tmp/no-such-file || fail=1
 
-exit $fail
+(exit $fail); exit
index 25d92f5a0f8ef41fc0a54e9019a128e0547957aa..505cb9bd2401f252b85239f4294f71b341a8d9d1 100755 (executable)
@@ -37,4 +37,4 @@ fail=0
 
 rm -r t || fail=1
 
-exit $fail
+(exit $fail); exit
index 099c1bd95511cc2dc3534601f1f22133119c0a38..b0b90ce3a54dc2b7abcf09650fd3c1d3344e9d51 100755 (executable)
@@ -36,4 +36,4 @@ test -f $tmp/a && fail=1
 
 rm -rf $tmp
 
-exit $fail
+(exit $fail); exit
index 19a87529002fc5a0f979d7f64bdb733108104f3b..c127a1cdf2da630fba817efc4cae54f84899f838 100755 (executable)
@@ -54,4 +54,4 @@ esac
 
 rm -rf $tmp $test.I
 
-exit $fail
+(exit $fail); exit
index f341b303bc5b18581856eb39b79b71eecc90d5fa..f4ddeb6500ccc0204d4bf03e28a1cec26c42e174 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 96cb8844a3e12c97d54f09aa62b7f5757d156b3b..1a5c073137e28de727b5d5b1613cde91e7ddfaa5 100755 (executable)
@@ -39,4 +39,4 @@ fail=0
 rm -rf $tmp || fail=1
 test -d $tmp && fail=1
 
-exit $fail
+(exit $fail); exit
index 0cb73111408c35d65bf7201dc1e09ce4577f6330..e00a61baa8e8efd2554be5bd4ad7b9f03f4cdcf2 100755 (executable)
@@ -35,4 +35,4 @@ $RM -r '' > /dev/null 2>&1 && fail=1
 cd ..
 rm -rf $tmp
 
-exit $fail
+(exit $fail); exit