]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
tests: port to testing in Linux /tmp
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Dec 2024 21:59:03 +0000 (13:59 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Dec 2024 22:06:14 +0000 (14:06 -0800)
* 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

index 3abdf0cb44b01c68949bd8b800680eeb1fe349de..3aaf6c745ce1abfec2a1a2947d13478e2b75684b 100644 (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