diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-19 13:00:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 13:00:49 -0400 |
commit | 89dbd1a916b2aeb96901402be6f3cc58373b5fe4 (patch) | |
tree | d7da4cf3f6f59b85586eb2e28d8acd7df2464c23 /test | |
parent | ed91524ae43d2729d60834596b4bba4bb78e4d8d (diff) | |
parent | ea8e61e4eb6b5c02cf5f9e1e20ba703c9196bc31 (diff) | |
download | podman-89dbd1a916b2aeb96901402be6f3cc58373b5fe4.tar.gz podman-89dbd1a916b2aeb96901402be6f3cc58373b5fe4.tar.bz2 podman-89dbd1a916b2aeb96901402be6f3cc58373b5fe4.zip |
Merge pull request #6674 from jwhonce/issues/6670
Add support for image sorting for all options
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/images_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go index 0ee7260c2..b6391cebf 100644 --- a/test/e2e/images_test.go +++ b/test/e2e/images_test.go @@ -296,6 +296,15 @@ WORKDIR /test sortValueTest("id", 125, "badvalue") }) + It("test for issue #6670", func() { + expected := podmanTest.Podman([]string{"images", "--sort", "created", "--format", "{{.ID}}", "-q"}) + expected.WaitWithDefaultTimeout() + + actual := podmanTest.Podman([]string{"images", "--sort", "created", "-q"}) + actual.WaitWithDefaultTimeout() + Expect(expected.Out).Should(Equal(actual.Out)) + }) + It("podman images --all flag", func() { podmanTest.RestoreAllArtifacts() dockerfile := `FROM docker.io/library/alpine:latest |