From: Jim Meyering Date: Thu, 16 Nov 2006 09:05:36 +0000 (+0100) Subject: * tests/tail-2/append-only: If chattr +a fails, exit 77 (to tell X-Git-Tag: COREUTILS-6_5~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a73fdeb2ce0a1574ec84d7dd7f670217088a818c;p=thirdparty%2Fcoreutils.git * tests/tail-2/append-only: If chattr +a fails, exit 77 (to tell automake we're skipping this test), and give a diagnostic to tell the user the same thing. Reported by Mike Grayson. --- diff --git a/ChangeLog b/ChangeLog index 3b6872e9ff..a9a80f505c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-11-16 Jim Meyering + + * tests/tail-2/append-only: If chattr +a fails, exit 77 (to tell + automake we're skipping this test), and give a diagnostic to tell + the user the same thing. Reported by Mike Grayson. + 2006-11-16 Ralf Wildenhues * man/Makefile.am (dist_man_MANS): Replace all optional manpages diff --git a/tests/tail-2/append-only b/tests/tail-2/append-only index ee7924540a..cee6644737 100755 --- a/tests/tail-2/append-only +++ b/tests/tail-2/append-only @@ -41,8 +41,8 @@ chattr +a f 2>/dev/null || framework_failure=1 echo x >> f || framework_failure=1 if test $framework_failure = 1; then - echo "$0: failure in testing framework" 1>&2 - (exit 1); exit 1 + echo "$0: chattr +a doesn't work on this file system; skipping this test " 1>&2 + (exit 77); exit 77 fi fail=0