From 41b5fe32466744c703b23e2502d970bf2b4d593a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 21 Nov 2006 09:03:27 +0100 Subject: [PATCH] * tests/rm/fail-eperm: Use the "(exit N); exit N" idiom, rather than just "exit N". --- ChangeLog | 3 +++ tests/rm/fail-eperm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8766a5ff8a..2c999f46f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-11-21 Jim Meyering + * 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 fe1e73d73f..e2ce957eba 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 -- 2.47.3