]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* tests/tail-2/append-only: If chattr +a fails, exit 77 (to tell
authorJim Meyering <jim@meyering.net>
Thu, 16 Nov 2006 09:05:36 +0000 (10:05 +0100)
committerJim Meyering <jim@meyering.net>
Thu, 16 Nov 2006 09:05:36 +0000 (10:05 +0100)
automake we're skipping this test), and give a diagnostic to tell
the user the same thing.  Reported by Mike Grayson.

ChangeLog
tests/tail-2/append-only

index 3b6872e9ff190084dbe27d6ceb558f20f95a9b18..a9a80f505ca7a0fe00f78fae88959ec246db4968 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-11-16  Jim Meyering  <jim@meyering.net>
+
+       * 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  <Ralf.Wildenhues@gmx.de>
 
        * man/Makefile.am (dist_man_MANS): Replace all optional manpages
index ee7924540a4081e4d9b5379d301a8cfed6a2b1ba..cee6644737d96fdaa1bf0e65c2192a71d38e6015 100755 (executable)
@@ -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