-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
system tests: cleanup, and add more tests #7949
Conversation
- images test: add test for 'table' and '\t' formatting - image mount test: check output from 'umount', test repeat umount (NOP), and test invalid-umount - kill test: remove kludgy workaround for crun signal bug ref: containers#5004 -- code is no longer needed (fingers crossed), and the workaround involved pulling an expensive image. - selinux test: add new tests for shared context in: * pods , w/ and w/o infra container (ref: containers#7902) * containers with namespace sharing: --ipc, --pid, --net - selinux test: new test for --pid=host (disabled pending propagation of container-selinux-2.146, ref: containers#7939) Signed-off-by: Ed Santiago <[email protected]>
@@ -75,4 +91,84 @@ function check_label() { | |||
run_podman rm -f myc | |||
} | |||
|
|||
# Sharing context between two containers not in a pod | |||
# These tests were piggybacked in with #7902, but are not actually related | |||
@test "podman selinux: shared context in (some) namespaces" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, there are a few more we might want to add around making sure a systemd based container gets the
container_init_t and a kvm (kata) container gets container_kvm_t.
LGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/lgtm |
images test: add test for 'table' and '\t' formatting
image mount test: check output from 'umount', test
repeat umount (NOP), and test invalid-umount
kill test: remove kludgy workaround for crun signal bug
ref: Podman-remote mangles SIGINT #5004 -- code is no longer needed (fingers crossed),
and the workaround involved pulling an expensive image.
selinux test: add new tests for shared context in:
selinux test: new test for --pid=host (disabled pending
propagation of container-selinux-2.146, ref: SELinux, rootless, --pid=host: only works with vfs #7939)
Signed-off-by: Ed Santiago [email protected]