mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
podman-remote ps --external --pod --sort do not work.
Fixup the bindings and the handling of the --external --por and --sort flags. The --storage option was renamed --external, make sure we use external up and down the stack. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -396,11 +396,14 @@ var _ = Describe("Podman ps", func() {
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
|
||||
session = podmanTest.Podman([]string{"ps", "--pod", "--no-trunc"})
|
||||
|
||||
session = podmanTest.Podman([]string{"ps", "--no-trunc"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
Expect(session.OutputToString()).To(Not(ContainSubstring(podid)))
|
||||
|
||||
session = podmanTest.Podman([]string{"ps", "--pod", "--no-trunc"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
Expect(session.OutputToString()).To(ContainSubstring(podid))
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user