summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-18 12:53:22 +0200
committerBruno Haible <bruno@clisp.org>2023-04-18 12:53:22 +0200
commit2d4adbff973ee2cc186cb6256b61d246c254fe93 (patch)
treed5276abcd35122a0c4235a5b1a666f520921cbf8 /tests
parent4898479747ac2e8a90cfafcfeba967dbde9fcb64 (diff)
downloadgnulib-2d4adbff973ee2cc186cb6256b61d246c254fe93.tar.gz
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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test-file-has-acl.sh2
1 files changed, 1 insertions, 1 deletions
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