diff options
author | Jim Meyering <jim@meyering.net> | 2006-11-21 09:03:27 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-11-21 09:03:27 +0100 |
commit | 41b5fe32466744c703b23e2502d970bf2b4d593a (patch) | |
tree | aedfcfb31935fdb4b9c4fa5b32767f5ca3905f31 | |
parent | e9a8c140da18a32adb458ee74ea93476f7859f5b (diff) | |
download | coreutils-41b5fe32466744c703b23e2502d970bf2b4d593a.tar.xz |
* tests/rm/fail-eperm: Use the "(exit N); exit N" idiom,
rather than just "exit N".
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | tests/rm/fail-eperm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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. diff --git a/tests/rm/fail-eperm b/tests/rm/fail-eperm index fe1e73d73..e2ce957eb 100755 --- a/tests/rm/fail-eperm +++ b/tests/rm/fail-eperm @@ -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 |