diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-11-12 16:28:17 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-11-13 03:54:08 -0500 |
commit | c69565d83c30c115330977aab5ff1d9c292f31bf (patch) | |
tree | ee6df2798126247d798357b9fd588c4d076f662d /test/e2e/images_test.go | |
parent | b2d281afcc36a54bc168c3d1c16416e06966c4b3 (diff) | |
download | podman-c69565d83c30c115330977aab5ff1d9c292f31bf.tar.gz podman-c69565d83c30c115330977aab5ff1d9c292f31bf.tar.bz2 podman-c69565d83c30c115330977aab5ff1d9c292f31bf.zip |
test for buildah version in container images.
Check to see if we are recording the version of buildah
used to build the image as a label in the image.
Also we should make sure the filter "since" works.
We are only testing "after", which we don't document.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/images_test.go')
-rw-r--r-- | test/e2e/images_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go index b42061c20..96eccdc28 100644 --- a/test/e2e/images_test.go +++ b/test/e2e/images_test.go @@ -198,7 +198,7 @@ WORKDIR /test Expect(result.OutputToString()).To(Equal("/test")) }) - It("podman images filter after image", func() { + It("podman images filter since image", func() { podmanTest.RestoreAllArtifacts() rmi := podmanTest.PodmanNoCache([]string{"rmi", "busybox"}) rmi.WaitWithDefaultTimeout() @@ -207,7 +207,7 @@ WORKDIR /test dockerfile := `FROM quay.io/libpod/alpine:latest ` podmanTest.BuildImage(dockerfile, "foobar.com/before:latest", "false") - result := podmanTest.PodmanNoCache([]string{"images", "-q", "-f", "after=quay.io/libpod/alpine:latest"}) + result := podmanTest.PodmanNoCache([]string{"images", "-q", "-f", "since=quay.io/libpod/alpine:latest"}) result.WaitWithDefaultTimeout() Expect(result).Should(Exit(0)) Expect(len(result.OutputToStringArray())).To(Equal(0)) |