Whamcloud - gitweb
tests: skip m_rootdir_acl on GNU Hurd
[tools/e2fsprogs.git] / tests / m_rootdir_acl / script
index 2a2a4c6..e81c82c 100644 (file)
@@ -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