Skip to content

Commit 61ce698

Browse files
committed
tests/int: rm centos-7 exclusion
We no longer run tests on CentOS 7, so this is now useless. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent fe1b896 commit 61ce698

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

tests/integration/run.bats

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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
249237
sh

tests/integration/selinux.bats

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)