From c3f93039ca0bb0d2e6718fa2132c3e701c0380e1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 27 Dec 2024 13:59:03 -0800 Subject: [PATCH] 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. --- tests/selnx01.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3