]> Savannah Git Hosting - gnulib.git/commitdiff
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 01:51:48 +0000 (03:51 +0200)
* tests/test-file-has-acl.sh: Fix distinction between Linux setfacl and
Cygwin setfacl.

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

index fd483865bf3765de277b413645aa6f5a738dca7b..d4d0474cf12c1ad25bcd1c5f358d1daa06196551 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