summaryrefslogtreecommitdiff
path: root/test/upgrade
diff options
context:
space:
mode:
authorToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-07-30 09:28:22 +0900
committerToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-07-30 10:59:59 +0900
commit53ec479685a7636a1bcc75bf3a88fbf7d95ba72a (patch)
tree644ccd7c975901490fadb085950710ad3d83195d /test/upgrade
parentfed326d8a6f8d4f7dc490099b29d51fc1754789f (diff)
downloadpodman-53ec479685a7636a1bcc75bf3a88fbf7d95ba72a.tar.gz
podman-53ec479685a7636a1bcc75bf3a88fbf7d95ba72a.tar.bz2
podman-53ec479685a7636a1bcc75bf3a88fbf7d95ba72a.zip
Add rm --filter option
--filter : remove the filtered container. Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
Diffstat (limited to 'test/upgrade')
-rw-r--r--test/upgrade/test-upgrade.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/upgrade/test-upgrade.bats b/test/upgrade/test-upgrade.bats
index 5efe05d49..dca97e324 100644
--- a/test/upgrade/test-upgrade.bats
+++ b/test/upgrade/test-upgrade.bats
@@ -345,10 +345,10 @@ failed | exited | 17
@test "rm a stopped container" {
run_podman rm myfailedcontainer
- is "$output" "[0-9a-f]\\{64\\}" "podman rm myfailedcontainer"
+ is "$output" "myfailedcontainer" "podman rm myfailedcontainer"
run_podman rm mydonecontainer
- is "$output" "[0-9a-f]\\{64\\}" "podman rm mydonecontainer"
+ is "$output" "mydonecontainer" "podman rm mydonecontainer"
}