mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
+2
-9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user