summaryrefslogtreecommitdiff
path: root/test/e2e/run_test.go
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2021-08-02 16:22:59 -0400
committerChris Evich <cevich@redhat.com>2021-08-18 12:04:06 -0400
commitdc70382886c9ae14c57277eabe3d2ce552c618fd (patch)
treedba0d6ced0936234503ad85c3f20117b30b08f62 /test/e2e/run_test.go
parent77f665200b81737da0c02c0ce97a183d57c602d3 (diff)
downloadpodman-dc70382886c9ae14c57277eabe3d2ce552c618fd.tar.gz
podman-dc70382886c9ae14c57277eabe3d2ce552c618fd.tar.bz2
podman-dc70382886c9ae14c57277eabe3d2ce552c618fd.zip
Fix AVC denials in tests of volume mounts
This becomes a problem on hosts with upgraded policies. Ref: https://github.com/containers/podman/issues/10522 Also, made a small change to compose-test setup to reduce runtime. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'test/e2e/run_test.go')
-rw-r--r--test/e2e/run_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index d68aa6ac4..1fb1a179a 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -946,7 +946,7 @@ USER mail`, BB)
Expect(err).To(BeNil())
mountpoint := "/myvol/"
- session := podmanTest.Podman([]string{"create", "--volume", vol + ":" + mountpoint, ALPINE, "cat", mountpoint + filename})
+ session := podmanTest.Podman([]string{"create", "--volume", vol + ":" + mountpoint + ":z", ALPINE, "cat", mountpoint + filename})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
ctrID := session.OutputToString()