summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-19 17:28:22 -0400
committerGitHub <noreply@github.com>2021-08-19 17:28:22 -0400
commit30b036c5d394bb523fa13074b1731ad4b6259693 (patch)
treefc06af62dcc0bae3c38a32ed444d458bd50e5958 /test
parentf988cfe1463f795f51f64e0887ba9dd9fe85b23d (diff)
parent16dfce486b45d5989dcba503cd0797bc7d66bee4 (diff)
downloadpodman-30b036c5d394bb523fa13074b1731ad4b6259693.tar.gz
podman-30b036c5d394bb523fa13074b1731ad4b6259693.tar.bz2
podman-30b036c5d394bb523fa13074b1731ad4b6259693.zip
Merge pull request #11280 from Luap99/info-plugins
Podman info output plugin information
Diffstat (limited to 'test')
-rw-r--r--test/e2e/info_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/e2e/info_test.go b/test/e2e/info_test.go
index 8ac538dd2..bc3ae4443 100644
--- a/test/e2e/info_test.go
+++ b/test/e2e/info_test.go
@@ -77,6 +77,15 @@ var _ = Describe("Podman Info", func() {
Expect(session.OutputToString()).To(ContainSubstring("registry"))
})
+ It("podman info --format GO template plugins", func() {
+ session := podmanTest.Podman([]string{"info", "--format", "{{.Plugins}}"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+ Expect(session.OutputToString()).To(ContainSubstring("local"))
+ Expect(session.OutputToString()).To(ContainSubstring("journald"))
+ Expect(session.OutputToString()).To(ContainSubstring("bridge"))
+ })
+
It("podman info rootless storage path", func() {
SkipIfNotRootless("test of rootless_storage_path is only meaningful as rootless")
SkipIfRemote("Only tests storage on local client")