tests: port to testing in Linux /tmp

* tests/selnx01.at: Discard restorecon output,
as it contains "Warning no default label for ..."
when run in Linux tmpfs on Fedora 40.
This commit is contained in:
Paul Eggert
2024-12-27 13:59:03 -08:00
parent d2b6b7b0a7
commit c3f93039ca

View File

@@ -35,7 +35,7 @@ ln -s file dir/link
getfattr -h -d -msecurity.selinux dir dir/file dir/link > start
restorecon -R dir
restorecon -R dir >/dev/null
chcon -h --user=system_u dir
chcon -h --user=unconfined_u dir/file
chcon -h --user=system_u dir/link