aboutsummaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-08-04 17:47:03 +0000
committerGitHub <noreply@github.com>2022-08-04 17:47:03 +0000
commite9f1eb28c47f454a940886892685976bbd02cee6 (patch)
tree2b8d7c13e1931dfc994ffd43b39ce056a0c6eefc /test/system
parent1cf6afb788a681fc379d58d7f1cb69eb1690dba9 (diff)
parent3102194f036b830bd5e242a67d04e238a4f50bc0 (diff)
downloadpodman-e9f1eb28c47f454a940886892685976bbd02cee6.tar.gz
podman-e9f1eb28c47f454a940886892685976bbd02cee6.tar.bz2
podman-e9f1eb28c47f454a940886892685976bbd02cee6.zip
Merge pull request #15197 from vrothberg/fix-15006
podman rmi: improve error message for build containers
Diffstat (limited to 'test/system')
-rw-r--r--test/system/010-images.bats6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/system/010-images.bats b/test/system/010-images.bats
index aa390f236..16ee681a3 100644
--- a/test/system/010-images.bats
+++ b/test/system/010-images.bats
@@ -259,8 +259,8 @@ Labels.created_at | 20[0-9-]\\\+T[0-9:]\\\+Z
run_podman 2 rmi -a
is "$output" "Error: 2 errors occurred:
-.** image used by .*: image is in use by a container
-.** image used by .*: image is in use by a container"
+.** image used by .*: image is in use by a container: consider listing external containers and force-removing image
+.** image used by .*: image is in use by a container: consider listing external containers and force-removing image"
run_podman rmi -af
is "$output" "Untagged: $IMAGE
@@ -292,7 +292,7 @@ Deleted: $pauseID" "infra images gets removed as well"
pauseID=$output
run_podman 2 rmi $pauseImage
- is "$output" "Error: image used by .* image is in use by a container"
+ is "$output" "Error: image used by .* image is in use by a container: consider listing external containers and force-removing image"
run_podman rmi -f $pauseImage
is "$output" "Untagged: $pauseImage