file-has-acl tests: Avoid test failures on Cygwin 3.4.6.
authorBruno Haible <bruno@clisp.org>
Tue, 18 Apr 2023 10:53:22 +0000 (12:53 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 21 Apr 2023 15:24:44 +0000 (17:24 +0200)
* tests/test-file-has-acl.sh: Fix distinction between Linux setfacl and
Cygwin setfacl.

ChangeLog
tests/test-file-has-acl.sh

index ef15e7ebd8e5e6704c0541a9efcff9935d3e91f6..39371b887c892c1b324dbf32c3002122d1d091ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-04-18  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        c32isgraph tests: Avoid test failure on Cygwin 3.4.6.
index 9e723b89ba457fca43a6ec15ee2ba4792496ce42..8703b02e8850240fb9861f066d43ab7df555504d 100755 (executable)
@@ -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