From: Pádraig Brady Date: Mon, 21 Apr 2025 10:48:33 +0000 (+0100) Subject: tests: fix false failure with constrained setfacl X-Git-Tag: v9.8~344 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=948f4713fd66719d35f510087801aa54d00364ad;p=thirdparty%2Fcoreutils.git tests: fix false failure with constrained setfacl * 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 --- diff --git a/tests/ls/acl.sh b/tests/ls/acl.sh index adf358bca7..ef323341fa 100755 --- a/tests/ls/acl.sh +++ b/tests/ls/acl.sh @@ -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 ||