summaryrefslogtreecommitdiff
path: root/test/e2e/run_security_labels.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-01 16:35:29 -0400
committerGitHub <noreply@github.com>2020-10-01 16:35:29 -0400
commit6a2c7d8831e9038f578fbaf8e8e6504d1d5f3045 (patch)
tree3456e8eea1dfb6d9a19847c2da2b8fdf60eb2fa6 /test/e2e/run_security_labels.go
parent5d22eb02f95f28a87ed263afe28b7ff4bf2f6fee (diff)
parentdf532ee8c1f2179c8a5cbdf2fe1ba42d4eb41cb0 (diff)
downloadpodman-6a2c7d8831e9038f578fbaf8e8e6504d1d5f3045.tar.gz
podman-6a2c7d8831e9038f578fbaf8e8e6504d1d5f3045.tar.bz2
podman-6a2c7d8831e9038f578fbaf8e8e6504d1d5f3045.zip
Merge pull request #7849 from baude/f33tests
misc fixes for f33 integration tests
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"))
})
})