aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-23 15:53:31 -0400
committerGitHub <noreply@github.com>2021-06-23 15:53:31 -0400
commite1a7a0efbeec4950815a29372a1c932bbf1bc9fb (patch)
tree1d6a2c65fbd14b40689a7a6b6cda0bbc33381446 /test
parentd95ff1a687c12e794e808a8a535e2ab5a2becd03 (diff)
parent1f388ede6f1425ecc6e2a6fddba1d811bc41e2c0 (diff)
downloadpodman-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.go6
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() {