diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-12-08 20:02:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 20:02:19 +0000 |
commit | b8fde5c5b2a94beac20cd37cab0b59ea0124249c (patch) | |
tree | ff3699646ba675a3ccf11b46b827e71ca06627ce /test | |
parent | 2d7c4beffc38f72a49ae2e9d360d8ecc46ea76c5 (diff) | |
parent | d46a82d218303c68aab0388b51d9ec1938b45b53 (diff) | |
download | podman-b8fde5c5b2a94beac20cd37cab0b59ea0124249c.tar.gz podman-b8fde5c5b2a94beac20cd37cab0b59ea0124249c.tar.bz2 podman-b8fde5c5b2a94beac20cd37cab0b59ea0124249c.zip |
Merge pull request #12549 from mheon/bump_344
Bump to v3.4.4
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/run_entrypoint_test.go | 1 | ||||
-rw-r--r-- | test/e2e/run_volume_test.go | 12 |
2 files changed, 12 insertions, 1 deletions
diff --git a/test/e2e/run_entrypoint_test.go b/test/e2e/run_entrypoint_test.go index 9560b1627..2246da104 100644 --- a/test/e2e/run_entrypoint_test.go +++ b/test/e2e/run_entrypoint_test.go @@ -103,7 +103,6 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"] }) It("podman run user entrypoint overrides image entrypoint and image cmd", func() { - SkipIfRemote("FIXME: podman-remote not handling passing --entrypoint=\"\" flag correctly") dockerfile := `FROM quay.io/libpod/alpine:latest CMD ["-i"] ENTRYPOINT ["grep", "Alpine", "/etc/os-release"] diff --git a/test/e2e/run_volume_test.go b/test/e2e/run_volume_test.go index 59937b6c0..eca43680b 100644 --- a/test/e2e/run_volume_test.go +++ b/test/e2e/run_volume_test.go @@ -691,6 +691,18 @@ USER testuser`, fedoraMinimal) }) + It("podman run with named volume check if we honor permission of target dir", func() { + session := podmanTest.Podman([]string{"run", "--rm", ALPINE, "stat", "-c", "%a %Y", "/var/tmp"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + perms := session.OutputToString() + + session = podmanTest.Podman([]string{"run", "--rm", "-v", "test:/var/tmp", ALPINE, "stat", "-c", "%a %Y", "/var/tmp"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + Expect(session.OutputToString()).To(Equal(perms)) + }) + It("podman volume with uid and gid works", func() { volName := "testVol" volCreate := podmanTest.Podman([]string{"volume", "create", "--opt", "o=uid=1000", volName}) |