From: Bruno Haible Date: Tue, 18 Apr 2023 10:53:22 +0000 (+0200) Subject: file-has-acl tests: Avoid test failures on Cygwin 3.4.6. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=2caf155446e563ce606460341407c8f70457308c;p=gnulib.git file-has-acl tests: Avoid test failures on Cygwin 3.4.6. * tests/test-file-has-acl.sh: Fix distinction between Linux setfacl and Cygwin setfacl. --- diff --git a/ChangeLog b/ChangeLog index fd483865bf..d4d0474cf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-04-18 Bruno Haible + + file-has-acl tests: Avoid test failures on Cygwin 3.4.6. + * tests/test-file-has-acl.sh: Fix distinction between Linux setfacl and + Cygwin setfacl. + 2023-04-18 Bruno Haible c32isgraph tests: Avoid test failure on Cygwin 3.4.6. diff --git a/tests/test-file-has-acl.sh b/tests/test-file-has-acl.sh index 9e723b89ba..8703b02e88 100755 --- a/tests/test-file-has-acl.sh +++ b/tests/test-file-has-acl.sh @@ -73,7 +73,7 @@ cd "$builddir" || # Linux, FreeBSD, Solaris, Cygwin. if (setfacl --help >/dev/null) 2>/dev/null; then # Linux, Cygwin. - if (LC_ALL=C setfacl --help | grep ' --set-file' >/dev/null) 2>/dev/null; then + if (LC_ALL=C setfacl --help | grep ' --test' >/dev/null) 2>/dev/null; then # Linux. acl_flavor=linux else