diff options
author | Theodore Ts'o <tytso@mit.edu> | 2021-07-30 13:10:28 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-07-30 13:10:28 -0400 |
commit | 5148709f6a4a0e2e0a8e6406d7f959a26bb5e3a0 (patch) | |
tree | bb8c9ea5b921a6dcff9595fb873e5d218ac6f6bf | |
parent | 7a97083d4350b93f4055bdd8465667cecbb36438 (diff) | |
download | e2fsprogs-5148709f6a4a0e2e0a8e6406d7f959a26bb5e3a0.tar.gz |
tests: skip m_rootdir_acl on GNU Hurd
The GNU Hurd doesn't support Posix ACL's, so even if the acl package
is installed, the setfattr command will fail. So just skip the test
on Hurd.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r-- | tests/m_rootdir_acl/script | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/m_rootdir_acl/script b/tests/m_rootdir_acl/script index 2a2a4c67f..e81c82ce8 100644 --- a/tests/m_rootdir_acl/script +++ b/tests/m_rootdir_acl/script @@ -9,6 +9,13 @@ if ! setfacl --help > /dev/null 2>&1 ; then return 0 fi +os=$(uname -s) +if [ "$os" = "GNU" ]; then + # requires Posix ACL support + echo "$test_name: $test_description: skipped for $os" + return 0 +fi + MKFS_DIR=$TMPFILE.dir OUT=$test_name.log EXP=$test_dir/expect |