From: Bruno Haible Date: Sun, 9 May 2010 16:51:48 +0000 (+0200) Subject: acl: Avoid test failure on Cygwin-hosted mingw. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db2ebe9d04c394f51b2b0f4306c9f9a79959b1da;p=pspp acl: Avoid test failure on Cygwin-hosted mingw. --- diff --git a/ChangeLog b/ChangeLog index 865b1b82da..7c1f4e210c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/tests/test-set-mode-acl.sh b/tests/test-set-mode-acl.sh index 5d3d225196..ef2b716074 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