diff options
Diffstat (limited to 'test/system/200-pod.bats')
-rw-r--r-- | test/system/200-pod.bats | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats index 667e2baef..da2f7cd59 100644 --- a/test/system/200-pod.bats +++ b/test/system/200-pod.bats @@ -547,4 +547,11 @@ io.max | $lomajmin rbps=1048576 wbps=1048576 riops=max wiops=max wait } +@test "podman pod rm --force bogus" { + run_podman 1 pod rm bogus + is "$output" "Error: .*bogus.*: no such pod" "Should print error" + run_podman pod rm --force bogus + is "$output" "" "Should print no output" +} + # vim: filetype=sh |