From 3241b63f6775ef915e08af034a2ee25ff0b513b6 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 11 Dec 2017 11:30:31 +0100 Subject: [PATCH] tests: check copied files have the correct SELinux label Signed-off-by: Giuseppe Scrivano Closes: #1143 Approved by: rhatdan --- tests/integration/test_system_containers_rpm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/test_system_containers_rpm.sh b/tests/integration/test_system_containers_rpm.sh index d2d3a15..5ac1e8d 100755 --- a/tests/integration/test_system_containers_rpm.sh +++ b/tests/integration/test_system_containers_rpm.sh @@ -96,6 +96,7 @@ for i in /usr/local/lib/renamed-atomic-test-system-hostfs /usr/local/lib/secret- do assert_matches $i rpm_file_list test -e $i + matchpathcon -V $i done # This is not a template file, the $RECEIVER is not replaced