From db2ebe9d04c394f51b2b0f4306c9f9a79959b1da Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 9 May 2010 18:51:48 +0200 Subject: [PATCH] acl: Avoid test failure on Cygwin-hosted mingw. --- ChangeLog | 5 +++++ tests/test-set-mode-acl.sh | 6 ++++++ 2 files changed, 11 insertions(+) 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 -- 2.11.0