diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-07-05 15:39:34 +0200 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2020-07-05 18:14:04 +0200 |
commit | b3dd42a7977bef2ea3408857200edde61abf25b7 (patch) | |
tree | 29b6ba9b82c036f300c31902b6e959c56f0fd95e /test/e2e | |
parent | b9d48a95a1c5daf2bb473df7f11c5df715389619 (diff) | |
download | podman-b3dd42a7977bef2ea3408857200edde61abf25b7.tar.gz podman-b3dd42a7977bef2ea3408857200edde61abf25b7.tar.bz2 podman-b3dd42a7977bef2ea3408857200edde61abf25b7.zip |
podman ps truncate the command
With a long create command the
output from ps is basically unreadable.
This is a regression that was introduced with Podman 2.0.
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/ps_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/e2e/ps_test.go b/test/e2e/ps_test.go index cfc0a415e..5277e2200 100644 --- a/test/e2e/ps_test.go +++ b/test/e2e/ps_test.go @@ -466,4 +466,15 @@ var _ = Describe("Podman ps", func() { Expect(ps.ExitCode()).To(Equal(0)) Expect(ps.OutputToString()).To(ContainSubstring("0.0.0.0:8080->80/tcp")) }) + + It("podman ps truncate long create commad", func() { + session := podmanTest.Podman([]string{"run", ALPINE, "echo", "very", "long", "create", "command"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + + session = podmanTest.Podman([]string{"ps", "-a"}) + session.WaitWithDefaultTimeout() + Expect(session.OutputToString()).To(ContainSubstring("echo very long cr...")) + }) + }) |