File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -128,10 +128,6 @@ function teardown() {
128128}
129129
130130@test " RUNC_DMZ=true runc run [runc-dmz]" {
131- # centos-7 has an outdated container-selinux (<2.224.0) which means
132- # runc-dmz won't work.
133- exclude_os centos-7
134-
135131 RUNC_DMZ=true runc --debug run test_hello
136132 [ " $status " -eq 0 ]
137133 [[ " $output " = * " Hello World" * ]]
@@ -140,10 +136,6 @@ function teardown() {
140136}
141137
142138@test " RUNC_DMZ=true runc run [cap_sys_ptrace -> /proc/self/exe clone]" {
143- # centos-7 has an outdated container-selinux (<2.224.0) which means
144- # runc-dmz won't work.
145- exclude_os centos-7
146-
147139 # Add CAP_SYS_PTRACE to the bounding set, the minimum needed to indicate a
148140 # container process _could_ get CAP_SYS_PTRACE.
149141 update_config ' .process.capabilities.bounding += ["CAP_SYS_PTRACE"]'
@@ -240,10 +232,6 @@ function teardown() {
240232}
241233
242234@test " RUNC_DMZ=true runc run [exec error]" {
243- # centos-7 has an outdated container-selinux (<2.224.0) which means
244- # runc-dmz won't work.
245- exclude_os centos-7
246-
247235 cat << EOF >rootfs/run.sh
248236#!/mmnnttbb foo bar
249237sh
Original file line number Diff line number Diff line change @@ -40,10 +40,6 @@ function teardown() {
4040
4141# https://github.com/opencontainers/runc/issues/4057
4242@test " runc run (custom selinux label, RUNC_DMZ=true)" {
43- # centos-7 has an outdated container-selinux (<2.224.0) which means
44- # runc-dmz won't work.
45- exclude_os centos-7
46-
4743 update_config ' .process.selinuxLabel |= "system_u:system_r:container_t:s0:c4,c5"
4844 | .process.args = ["/bin/true"]'
4945 RUNC_DMZ=true runc run tst
You can’t perform that action at this time.
0 commit comments