From: Paul Eggert Date: Fri, 27 Dec 2024 21:59:03 +0000 (-0800) Subject: tests: port to testing in Linux /tmp X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3f93039ca0bb0d2e6718fa2132c3e701c0380e1;p=thirdparty%2Ftar.git 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. --- diff --git a/tests/selnx01.at b/tests/selnx01.at index 3abdf0cb..3aaf6c74 100644 --- a/tests/selnx01.at +++ b/tests/selnx01.at @@ -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