diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-09 17:02:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-09 17:02:58 +0200 |
commit | d8a065dab377a7bf48680d53d0839b2c7f62d003 (patch) | |
tree | c7912491d050ecac2eb673e341f726bdcd3d63c2 /test | |
parent | 627dbd49c5a80146e5806797243b63d0bd157760 (diff) | |
parent | d202e010af95b79230e5aaf88eb04168e73fac95 (diff) | |
download | podman-d8a065dab377a7bf48680d53d0839b2c7f62d003.tar.gz podman-d8a065dab377a7bf48680d53d0839b2c7f62d003.tar.bz2 podman-d8a065dab377a7bf48680d53d0839b2c7f62d003.zip |
Merge pull request #3087 from jwhonce/wip/version
Add information when running `podman version` on client
Diffstat (limited to 'test')
-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)) |