X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft1304-default-acl.sh;h=97ab02aceb8d9448ca5d4b13b94a8e3d7221375a;hb=bd2549ca6b0b2d897e073bbaa34c1fee46acd8f0;hp=055ad00f778eda1de02a418bbc602e580acdaca1;hpb=af655431f53c20e3d0ed236544397c69974267f4;p=git.git diff --git a/t/t1304-default-acl.sh b/t/t1304-default-acl.sh index 055ad00f7..97ab02ace 100755 --- a/t/t1304-default-acl.sh +++ b/t/t1304-default-acl.sh @@ -15,9 +15,12 @@ umask 077 # is a good candidate: exists on all unices, and it has permission # anyway, so we don't create a security hole running the testsuite. -if ! setfacl -m u:root:rwx .; then - say "Skipping ACL tests: unable to use setfacl" - test_done +setfacl_out="$(setfacl -m u:root:rwx . 2>&1)" +setfacl_ret=$? + +if [ $setfacl_ret != 0 ]; then + skip_all="Skipping ACL tests: unable to use setfacl (output: '$setfacl_out'; return code: '$setfacl_ret')" + test_done fi check_perms_and_acl () {