Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Commit

Permalink
tests: verify copied files have the correct SELinux label
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Dec 11, 2017
1 parent 982c5bb commit 774cb72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/test_system_containers_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -149,6 +150,7 @@ ${ATOMIC} install --system --system-package=no atomic-test-system-hostfs
for i in /usr/local/lib/renamed-atomic-test-system-hostfs /usr/local/lib/secret-message /usr/local/lib/secret-message-template;
do
test -e $i
matchpathcon -V $i
done

echo "This message will not be deleted" > /usr/local/lib/secret-message
Expand Down

0 comments on commit 774cb72

Please sign in to comment.