summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-06-01 08:59:07 -0500
committerBrent Baude <bbaude@redhat.com>2020-06-01 10:07:58 -0500
commit8c1883721c28d09c5c3629db7e0d77344f5f7bd9 (patch)
tree1d8d325fc307b1054d35628dc8870b9e06407df9 /test/e2e
parent22713d62e2860052e21e5e985fba169834709fdc (diff)
downloadpodman-8c1883721c28d09c5c3629db7e0d77344f5f7bd9.tar.gz
podman-8c1883721c28d09c5c3629db7e0d77344f5f7bd9.tar.bz2
podman-8c1883721c28d09c5c3629db7e0d77344f5f7bd9.zip
Fix leak of empty tarball
In cases of trying to export an image, if the image was not found, we leaked an empty tarball or directory depending on the format. Fixes: #6409 Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/images_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go
index 1b23aba36..9a073cde6 100644
--- a/test/e2e/images_test.go
+++ b/test/e2e/images_test.go
@@ -179,7 +179,7 @@ var _ = Describe("Podman images", func() {
It("podman images filter before image", func() {
SkipIfRemote()
dockerfile := `FROM docker.io/library/alpine:latest
-RUN apk update && apk add man
+RUN apk update && apk add strace
`
podmanTest.BuildImage(dockerfile, "foobar.com/before:latest", "false")
result := podmanTest.Podman([]string{"images", "-q", "-f", "before=foobar.com/before:latest"})