]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* tests/rm/fail-eperm: Use the "(exit N); exit N" idiom,
authorJim Meyering <jim@meyering.net>
Tue, 21 Nov 2006 08:03:27 +0000 (09:03 +0100)
committerJim Meyering <jim@meyering.net>
Tue, 21 Nov 2006 08:03:27 +0000 (09:03 +0100)
rather than just "exit N".

ChangeLog
tests/rm/fail-eperm

index 8766a5ff8a38220f36cade7d5624eb584705a216..2c999f46f47c76c239cc67f685483e6460e52a38 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-11-21  Jim Meyering  <jim@meyering.net>
 
+       * tests/rm/fail-eperm: Use the "(exit N); exit N" idiom,
+       rather than just "exit N".
+
        Arrange for "make check-root" to run the new root-only test.
        * tests/Makefile.am (t7): New target, to run tests/ls/nameless-uid.
        (all_t): Add t7.
index fe1e73d73f51b82a46a3d3d7c6158b071ecfc74d..e2ce957eba8999cced7aaa739d1ed780d099e4ad 100755 (executable)
@@ -37,7 +37,7 @@ PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
 $PERL -e 1 > /dev/null 2>&1 || {
   echo 1>&2 "$0: configure didn't find a usable version of Perl," \
     "so can't run this test"
-  exit 77
+  (exit 77); exit 77
 }
 
 ARGV_0=$0