diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-06-23 15:53:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 15:53:31 -0400 |
commit | e1a7a0efbeec4950815a29372a1c932bbf1bc9fb (patch) | |
tree | 1d6a2c65fbd14b40689a7a6b6cda0bbc33381446 /test | |
parent | d95ff1a687c12e794e808a8a535e2ab5a2becd03 (diff) | |
parent | 1f388ede6f1425ecc6e2a6fddba1d811bc41e2c0 (diff) | |
download | podman-e1a7a0efbeec4950815a29372a1c932bbf1bc9fb.tar.gz podman-e1a7a0efbeec4950815a29372a1c932bbf1bc9fb.tar.bz2 podman-e1a7a0efbeec4950815a29372a1c932bbf1bc9fb.zip |
Merge pull request #10747 from jwhonce/wip/report
Add --format to connection list
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/system_connection_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/system_connection_test.go b/test/e2e/system_connection_test.go index 4697cf860..7c922a648 100644 --- a/test/e2e/system_connection_test.go +++ b/test/e2e/system_connection_test.go @@ -147,6 +147,12 @@ var _ = Describe("podman system connection", func() { session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) Expect(session.Out).Should(Say("Name *Identity *URI")) + + cmd = []string{"system", "connection", "list", "--format", "{{.Name}}"} + session = podmanTest.Podman(cmd) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + Expect(session.OutputToString()).Should(Equal("devl* qe")) }) It("failed default", func() { |