summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-10-18 16:45:23 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-10-18 16:52:52 -0400
commit34dcbc94913a899f8c3cc48c3abab4e8114f425f (patch)
tree014de1110b608b59e3442b3c7f1687f8a98cd910 /test/e2e
parente0ffc431fe7f016124fdcb36819698a90fe448a9 (diff)
downloadpodman-34dcbc94913a899f8c3cc48c3abab4e8114f425f.tar.gz
podman-34dcbc94913a899f8c3cc48c3abab4e8114f425f.tar.bz2
podman-34dcbc94913a899f8c3cc48c3abab4e8114f425f.zip
Change podman connection list to use default field
Stop using "*" to indicate default. Add default field to make it more obvios and the json field more machine usable. Fixes: https://github.com/containers/podman/issues/12019 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/system_connection_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/system_connection_test.go b/test/e2e/system_connection_test.go
index 6cdb78c5e..842ae8df6 100644
--- a/test/e2e/system_connection_test.go
+++ b/test/e2e/system_connection_test.go
@@ -208,13 +208,13 @@ var _ = Describe("podman system connection", func() {
session = podmanTest.Podman(cmd)
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- Expect(session.Out).Should(Say("Name *Identity *URI"))
+ Expect(session.Out).Should(Say("Name *URI *Identity *Default"))
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"))
+ Expect(session.OutputToString()).Should(Equal("devl qe"))
})
It("failed default", func() {