From a73fdeb2ce0a1574ec84d7dd7f670217088a818c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 16 Nov 2006 10:05:36 +0100 Subject: * 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. --- tests/tail-2/append-only | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/tail-2/append-only') diff --git a/tests/tail-2/append-only b/tests/tail-2/append-only index ee7924540..cee664473 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 -- cgit v1.2.3-54-g00ecf