diff options
author | Aditya Rajan <arajan@redhat.com> | 2021-12-08 17:38:45 +0530 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-12-08 13:39:10 -0500 |
commit | e30588a685ad1474e7957912e72c6c9fbdee4105 (patch) | |
tree | abb66f9bea4ba8e93f1bbbbd51a9cf745de2bee5 /test | |
parent | db9caa74b79482b362aab180054e69a08c10d3cd (diff) | |
download | podman-e30588a685ad1474e7957912e72c6c9fbdee4105.tar.gz podman-e30588a685ad1474e7957912e72c6c9fbdee4105.tar.bz2 podman-e30588a685ad1474e7957912e72c6c9fbdee4105.zip |
specgen: honor empty args for entrypoint
Users should be able to override containers entrypoint using
`--entrypoint ""` following works fine for podman but not for podman
remote.
Specgen ignores empty argument for entrypoint so make specgen honor
empty arguments.
Signed-off-by: Aditya Rajan <arajan@redhat.com>
<MH: Fixed cherry-pick conflicts>
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/run_entrypoint_test.go | 1 |
1 files changed, 0 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"] |