acl: Avoid test failure on Cygwin-hosted mingw.
authorBruno Haible <bruno@clisp.org>
Sun, 9 May 2010 16:51:48 +0000 (18:51 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 May 2010 16:51:48 +0000 (18:51 +0200)
ChangeLog
tests/test-set-mode-acl.sh

index 865b1b82da09dcf6106710d7a2ea1b6495c04dd8..7c1f4e210cce7ce0966c72deada8516aba0aa6b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-09  Bruno Haible  <bruno@clisp.org>
+
+       acl: Avoid test failure on Cygwin-hosted mingw.
+       * tests/test-set-mode-acl.sh: Skip test if USE_ACL is 0.
+
 2010-05-09  Bruno Haible  <bruno@clisp.org>
 
        error: Use system's fcntl function.
index 5d3d225196c3f453da51f21da7c9c8c6399698c7..ef2b71607414ee282c5d6286ee5a3fe93d30ff75 100755 (executable)
@@ -3,6 +3,12 @@
 # Show all commands when run with environment variable VERBOSE=yes.
 test -z "$VERBOSE" || set -x
 
+test "$USE_ACL" = 0 &&
+  {
+    echo "Skipping test: insufficient ACL support"
+    exit 77
+  }
+
 # func_tmpdir
 # creates a temporary directory.
 # Sets variable