]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: fix false failure with constrained setfacl
authorPádraig Brady <P@draigBrady.com>
Mon, 21 Apr 2025 10:48:33 +0000 (11:48 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 21 Apr 2025 10:48:33 +0000 (11:48 +0100)
* tests/ls/acl.sh: In constrained environments, like with
setxattr() disabled for example, require_acl_ does not
check for the required functionality, so use the more
stringent require_setfacl_ instead.
Reported at https://github.com/NixOS/nixpkgs/issues/394953

tests/ls/acl.sh

index adf358bca762bd9667e82773a7dda298e9e1f5a7..ef323341fa4860b2923b9684cb69e4a39136fe0c 100755 (executable)
@@ -19,7 +19,7 @@
 . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
-require_acl_
+require_setfacl_
 
 # Skip this test if ls was built without ACL support:
 grep '^#define USE_ACL 1' $CONFIG_HEADER > /dev/null ||