From: Bruno Haible Date: Sun, 9 May 2010 16:51:48 +0000 (+0200) Subject: acl: Avoid test failure on Cygwin-hosted mingw. X-Git-Tag: v0.1~4159 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=db2ebe9d04c394f51b2b0f4306c9f9a79959b1da;p=gnulib.git acl: Avoid test failure on Cygwin-hosted mingw. --- diff --git a/ChangeLog b/ChangeLog index 865b1b82d..7c1f4e210 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-05-09 Bruno Haible + 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 + error: Use system's fcntl function. * lib/error.c (fcntl): Undefine. diff --git a/tests/test-set-mode-acl.sh b/tests/test-set-mode-acl.sh index 5d3d22519..ef2b71607 100755 --- a/tests/test-set-mode-acl.sh +++ b/tests/test-set-mode-acl.sh @@ -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