tests: remove IRIX support from tests also supported on Linux

Many tests claimed (via _supported_os) to work on both Linux and IRIX.
Since IRIX is no longer supported by xfstests, update these to claim
Linux support only.  Then remove any obvious IRIX-specific logic in the
tests, and any IRIX-specific golden output files.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Eric Biggers
2017-07-20 21:22:05 -07:00
committed by Eryu Guan
parent 0e3b0ab584
commit 2983eebf07
184 changed files with 175 additions and 13103 deletions
+2 -9
View File
@@ -46,7 +46,7 @@ _cleanup()
# Modify as appropriate.
_supported_fs generic
_supported_os IRIX Linux
_supported_os Linux
# real QA test starts here
@@ -78,14 +78,7 @@ echo data > subdir/file
_ls_l subdir/file | awk '{ print $1, $3 }'
# add an ACL with a user ACE which has no exec permission
if [ "$HOSTOS" == "Linux" ]; then
setfacl -m u:$acl1:r subdir
elif [ "$HOSTOS" == "IRIX" ]; then
chacl u:$acl:r--,g::---,o::--- subdir
else
echo "Unknown OS!"
exit 1
fi
setfacl -m u:$acl1:r subdir
# With the bug this gives: `ls: subdir/file: Permission denied'
# because one needs at least an exec perm somewhere in acl