aboutsummaryrefslogtreecommitdiff
path: root/test/system/055-rm.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-11 00:35:35 +0000
committerGitHub <noreply@github.com>2022-08-11 00:35:35 +0000
commitedb3f70bccd2eae14ddd95c74db35731b508f407 (patch)
tree51e82489a9398d2378011cda7889137c912cdaad /test/system/055-rm.bats
parentb53eccfc2adea661e4e4b48b59d4e3f8d3d4883a (diff)
parenteba1f77497efb48d810d3c2d2fa6cccecea695cb (diff)
downloadpodman-edb3f70bccd2eae14ddd95c74db35731b508f407.tar.gz
podman-edb3f70bccd2eae14ddd95c74db35731b508f407.tar.bz2
podman-edb3f70bccd2eae14ddd95c74db35731b508f407.zip
Merge pull request #15279 from mheon/bump_420_final
Final Backports and Bump to v4.2.0
Diffstat (limited to 'test/system/055-rm.bats')
-rw-r--r--test/system/055-rm.bats7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/system/055-rm.bats b/test/system/055-rm.bats
index 0ef2216b8..dcd679a1f 100644
--- a/test/system/055-rm.bats
+++ b/test/system/055-rm.bats
@@ -96,4 +96,11 @@ load helpers
run_podman 137 run --name $rand $IMAGE sleep 30
}
+@test "podman container rm --force bogus" {
+ run_podman 1 container rm bogus
+ is "$output" "Error: no container with name or ID \"bogus\" found: no such container" "Should print error"
+ run_podman container rm --force bogus
+ is "$output" "" "Should print no output"
+}
+
# vim: filetype=sh