diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-14 21:53:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 21:53:47 +0200 |
commit | 50cd21e1811f4fe508a74dc316c81a047de4e8d9 (patch) | |
tree | 79c87a1f6d0ed244a0a29a3a98e5b326d10cd3f4 /test/e2e | |
parent | c078e936bf5793433359c43498a89943ded3f8fc (diff) | |
parent | 6535c8b9e82a1cc1f5c8d03215b9de5851b2010c (diff) | |
download | podman-50cd21e1811f4fe508a74dc316c81a047de4e8d9.tar.gz podman-50cd21e1811f4fe508a74dc316c81a047de4e8d9.tar.bz2 podman-50cd21e1811f4fe508a74dc316c81a047de4e8d9.zip |
Merge pull request #6939 from rhatdan/entrypoint
Fix handling of entrypoint
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/run_entrypoint_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/e2e/run_entrypoint_test.go b/test/e2e/run_entrypoint_test.go index 76e021552..741019770 100644 --- a/test/e2e/run_entrypoint_test.go +++ b/test/e2e/run_entrypoint_test.go @@ -101,6 +101,11 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"] session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) Expect(session.LineInOuputStartsWith("Linux")).To(BeTrue()) + + session = podmanTest.Podman([]string{"run", "--entrypoint", "", "foobar.com/entrypoint:latest", "uname"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + Expect(session.LineInOuputStartsWith("Linux")).To(BeTrue()) }) It("podman run user entrypoint with command overrides image entrypoint and image cmd", func() { |