diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-08-19 17:33:20 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-08-19 17:33:20 +0200 |
commit | 16dfce486b45d5989dcba503cd0797bc7d66bee4 (patch) | |
tree | 3e743cf5885737f3c0896c8efffddeed7a265387 /test | |
parent | 23804d95f6589eca37e7cdcfcfaeb1e63e47b209 (diff) | |
download | podman-16dfce486b45d5989dcba503cd0797bc7d66bee4.tar.gz podman-16dfce486b45d5989dcba503cd0797bc7d66bee4.tar.bz2 podman-16dfce486b45d5989dcba503cd0797bc7d66bee4.zip |
Podman info output plugin information
For docker compat include information about available volume, log and
network drivers which should be listed under the plugins key.
Fixes #11265
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/info_test.go | 9 |
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") |