summaryrefslogtreecommitdiff
path: root/test/e2e/run_security_labels.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-09-30 08:51:13 -0500
committerbaude <bbaude@redhat.com>2020-09-30 14:15:59 -0500
commitdf532ee8c1f2179c8a5cbdf2fe1ba42d4eb41cb0 (patch)
treef19a057540d02383a36c2edde92df8eecddb8f2f /test/e2e/run_security_labels.go
parent1d7cb7f477a4d9ea10d3ec08edac3327d7802c6c (diff)
downloadpodman-df532ee8c1f2179c8a5cbdf2fe1ba42d4eb41cb0.tar.gz
podman-df532ee8c1f2179c8a5cbdf2fe1ba42d4eb41cb0.tar.bz2
podman-df532ee8c1f2179c8a5cbdf2fe1ba42d4eb41cb0.zip
misc fixes for f33 integration tests
some small fixes for testing on fedora 33 (non-btrfs) Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e/run_security_labels.go')
-rw-r--r--test/e2e/run_security_labels.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/run_security_labels.go b/test/e2e/run_security_labels.go
index 7c8597866..2a0b0467d 100644
--- a/test/e2e/run_security_labels.go
+++ b/test/e2e/run_security_labels.go
@@ -130,7 +130,7 @@ var _ = Describe("Podman generate kube", func() {
SkipIfRemote("runlabel not supported on podman-remote")
PodmanDockerfile := `
FROM alpine:latest
-LABEL io.containers.capabilities=chown,mknod`
+LABEL io.containers.capabilities=chown,kill`
image := "podman-caps:podman"
podmanTest.BuildImage(PodmanDockerfile, image, "false")
@@ -145,7 +145,7 @@ LABEL io.containers.capabilities=chown,mknod`
ctr := inspect.InspectContainerToJSON()
caps := strings.Join(ctr[0].EffectiveCaps, ",")
- Expect(caps).To(Equal("CAP_CHOWN,CAP_MKNOD"))
+ Expect(caps).To(Equal("CAP_CHOWN,CAP_KILL"))
})
})