diff options
author | Jhon Honce <jhonce@redhat.com> | 2019-05-08 10:32:28 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2019-05-08 11:29:03 -0700 |
commit | d202e010af95b79230e5aaf88eb04168e73fac95 (patch) | |
tree | e20d2403a3433e8b87c04c175d2bd2d3f6c2301f /test/e2e/version_test.go | |
parent | 64d1a357e8299c5fcecd4141091424419111cdee (diff) | |
download | podman-d202e010af95b79230e5aaf88eb04168e73fac95.tar.gz podman-d202e010af95b79230e5aaf88eb04168e73fac95.tar.bz2 podman-d202e010af95b79230e5aaf88eb04168e73fac95.zip |
Add information when running podman version on client
* Include service version information and headers
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'test/e2e/version_test.go')
-rw-r--r-- | test/e2e/version_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/version_test.go b/test/e2e/version_test.go index f546158a9..35ee21e49 100644 --- a/test/e2e/version_test.go +++ b/test/e2e/version_test.go @@ -31,6 +31,7 @@ var _ = Describe("Podman version", func() { }) It("podman version", func() { + SkipIfRemote() session := podmanTest.Podman([]string{"version"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) @@ -38,6 +39,7 @@ var _ = Describe("Podman version", func() { }) It("podman version --format json", func() { + SkipIfRemote() session := podmanTest.Podman([]string{"version", "--format", "json"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) @@ -45,6 +47,7 @@ var _ = Describe("Podman version", func() { }) It("podman version --format json", func() { + SkipIfRemote() session := podmanTest.Podman([]string{"version", "--format", "{{ json .}}"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) @@ -52,6 +55,7 @@ var _ = Describe("Podman version", func() { }) It("podman version --format GO template", func() { + SkipIfRemote() session := podmanTest.Podman([]string{"version", "--format", "{{ .Version }}"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) |