diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-11-01 06:19:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-01 06:19:51 -0700 |
commit | 20a3a53c2faea408af47023ea60c76b5b5ecea3c (patch) | |
tree | fd0ac4794b476315375af880d15051c6c977331a /test/e2e/rmi_test.go | |
parent | e75469ab99c48e9fbe2b36ade229d384bdea9144 (diff) | |
parent | 0360ec725acf7a179b03f4d7a3a5fe1cc2e383c8 (diff) | |
download | podman-20a3a53c2faea408af47023ea60c76b5b5ecea3c.tar.gz podman-20a3a53c2faea408af47023ea60c76b5b5ecea3c.tar.bz2 podman-20a3a53c2faea408af47023ea60c76b5b5ecea3c.zip |
Merge pull request #1740 from baude/ppc64le
allow ppc64le to pass libpod integration tests
Diffstat (limited to 'test/e2e/rmi_test.go')
-rw-r--r-- | test/e2e/rmi_test.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/e2e/rmi_test.go b/test/e2e/rmi_test.go index 8224cd345..2a1a0da77 100644 --- a/test/e2e/rmi_test.go +++ b/test/e2e/rmi_test.go @@ -13,8 +13,6 @@ var _ = Describe("Podman rmi", func() { tempdir string err error podmanTest PodmanTest - image1 = "docker.io/library/alpine:latest" - image3 = "docker.io/library/busybox:glibc" ) BeforeEach(func() { @@ -42,7 +40,7 @@ var _ = Describe("Podman rmi", func() { }) It("podman rmi with fq name", func() { - session := podmanTest.Podman([]string{"rmi", image1}) + session := podmanTest.Podman([]string{"rmi", ALPINE}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) @@ -56,15 +54,18 @@ var _ = Describe("Podman rmi", func() { }) It("podman rmi all images", func() { - podmanTest.PullImages([]string{image3}) + podmanTest.PullImages([]string{nginx}) session := podmanTest.Podman([]string{"rmi", "-a"}) session.WaitWithDefaultTimeout() + images := podmanTest.Podman([]string{"images"}) + images.WaitWithDefaultTimeout() + fmt.Println(images.OutputToStringArray()) Expect(session.ExitCode()).To(Equal(0)) }) It("podman rmi all images forcibly with short options", func() { - podmanTest.PullImages([]string{image3}) + podmanTest.PullImages([]string{nginx}) session := podmanTest.Podman([]string{"rmi", "-fa"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) |