diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-01 12:35:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 12:35:59 -0800 |
commit | 467b677451840dbc71853784f3a9b86d2736e30d (patch) | |
tree | 42f49c29823269ae6ba708cc8c8d57c51ce880f5 /test | |
parent | e4746f9b4b679548d88f0ea94f73d760b2658c3c (diff) | |
parent | 4258e3832627b23927f4a77dd85d1cb78f5a2a65 (diff) | |
download | podman-467b677451840dbc71853784f3a9b86d2736e30d.tar.gz podman-467b677451840dbc71853784f3a9b86d2736e30d.tar.bz2 podman-467b677451840dbc71853784f3a9b86d2736e30d.zip |
Merge pull request #2482 from edsantiago/podman_image_rm
Fix usage messages for podman image list, rm
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/rmi_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/e2e/rmi_test.go b/test/e2e/rmi_test.go index dcbda2df4..26cc925ef 100644 --- a/test/e2e/rmi_test.go +++ b/test/e2e/rmi_test.go @@ -275,4 +275,13 @@ RUN find $LOCAL Expect(images.ExitCode()).To(Equal(0)) Expect(len(images.OutputToStringArray())).To(Equal(0)) }) + + // Don't rerun all tests; just assume that if we get that diagnostic, + // we're getting rmi + It("podman image rm is the same as rmi", func() { + session := podmanTest.Podman([]string{"image", "rm"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(125)) + Expect(session.LineInOutputContains("image name or ID must be specified")) + }) }) |