From a73fdeb2ce0a1574ec84d7dd7f670217088a818c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 16 Nov 2006 10:05:36 +0100 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ tests/tail-2/append-only | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.47.3