summaryrefslogtreecommitdiff
path: root/test/system/001-basic.bats
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-09-20 12:50:16 +0200
committerValentin Rothberg <rothberg@redhat.com>2021-09-20 15:06:37 +0200
commit92ee2f372ba06ec7c09008d9a28e4c9ce35bf51a (patch)
tree5cdea0f9ffd5d83f067a89166b0a78cf8f6814b0 /test/system/001-basic.bats
parentb906ecbb5bc887f5123a0f61a5a51782aa34357f (diff)
downloadpodman-92ee2f372ba06ec7c09008d9a28e4c9ce35bf51a.tar.gz
podman-92ee2f372ba06ec7c09008d9a28e4c9ce35bf51a.tar.bz2
podman-92ee2f372ba06ec7c09008d9a28e4c9ce35bf51a.zip
remote untag: support digests
Fix a bug when remotely untagging an image via tag@digest. The digest has been lost in the remote client and hence led to a wrong behaviour on the server. Fixes: #11557 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/system/001-basic.bats')
-rw-r--r--test/system/001-basic.bats3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/system/001-basic.bats b/test/system/001-basic.bats
index 963c89281..888c075b8 100644
--- a/test/system/001-basic.bats
+++ b/test/system/001-basic.bats
@@ -57,6 +57,9 @@ function setup() {
# Now untag the digest reference again.
run_podman untag $IMAGE $IMAGE@$digest
+
+ # Make sure the original image is still present (#11557).
+ run_podman image exists $IMAGE
}
# PR #7212: allow --remote anywhere before subcommand, not just as 1st flag