summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-20 08:26:44 -0400
committerGitHub <noreply@github.com>2020-07-20 08:26:44 -0400
commit17f9b80600bc008e7c0a4060ff3a6bb5eb56d0cc (patch)
tree744e15183f75794ebe436d461334154a666b8dc0 /test
parentb7b8fce82693ae0f9ebb0561cd3e6c118ad35fe9 (diff)
parent67a5e21bf84f44be182fd2a5aace4a17be226a84 (diff)
downloadpodman-17f9b80600bc008e7c0a4060ff3a6bb5eb56d0cc.tar.gz
podman-17f9b80600bc008e7c0a4060ff3a6bb5eb56d0cc.tar.bz2
podman-17f9b80600bc008e7c0a4060ff3a6bb5eb56d0cc.zip
Merge pull request #7018 from Luap99/fix#7015
fix: system df error when an image has no name
Diffstat (limited to 'test')
-rw-r--r--test/e2e/system_df_test.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/e2e/system_df_test.go b/test/e2e/system_df_test.go
index 16a8dbb7e..f17afaec1 100644
--- a/test/e2e/system_df_test.go
+++ b/test/e2e/system_df_test.go
@@ -60,4 +60,18 @@ var _ = Describe("podman system df", func() {
Expect(containers[1]).To(Equal("2"))
Expect(volumes[2]).To(Equal("1"))
})
+
+ It("podman system df image with no tag", func() {
+ session := podmanTest.PodmanNoCache([]string{"create", ALPINE})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+
+ session = podmanTest.PodmanNoCache([]string{"image", "untag", ALPINE})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+
+ session = podmanTest.PodmanNoCache([]string{"system", "df"})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+ })
})