aboutsummaryrefslogtreecommitdiff
path: root/test/system/045-start.bats
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-04-12 11:23:53 -0600
committerEd Santiago <santiago@redhat.com>2022-04-12 11:24:33 -0600
commit2c800a717c6396883c9e5a9c984a842a7aa5590d (patch)
tree51320028c3df5a794ff0b1fac100547441738ca0 /test/system/045-start.bats
parentdb7cd88c6781c3d42376f02b5b1547c466c45d3e (diff)
downloadpodman-2c800a717c6396883c9e5a9c984a842a7aa5590d.tar.gz
podman-2c800a717c6396883c9e5a9c984a842a7aa5590d.tar.bz2
podman-2c800a717c6396883c9e5a9c984a842a7aa5590d.zip
System tests: fix oops in start --filter tests
Bad code got committed by accident: test description on run_podman line, not test line. Did not seem to affect tests, but fix it anyway. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/045-start.bats')
-rw-r--r--test/system/045-start.bats13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/system/045-start.bats b/test/system/045-start.bats
index 2ea057cd3..31e924ca5 100644
--- a/test/system/045-start.bats
+++ b/test/system/045-start.bats
@@ -41,18 +41,19 @@ load helpers
@test "podman start --filter - start only containers that match the filter" {
run_podman run -d $IMAGE /bin/true
cid="$output"
- run_podman start --filter restart-policy=always $cid "CID of restart-policy=always container"
- is "$output" ""
+ run_podman start --filter restart-policy=always $cid
+ is "$output" "" "CID of restart-policy=always container"
- run_podman start --filter restart-policy=none $cid "CID of restart-policy=none container"
- is "$output" "$cid"
+ run_podman start --filter restart-policy=none $cid
+ is "$output" "$cid" "CID of restart-policy=none container"
}
@test "podman start --filter invalid-restart-policy - return error" {
run_podman run -d $IMAGE /bin/true
cid="$output"
- run_podman 125 start --filter restart-policy=fakepolicy $cid "CID of restart-policy=<not-exists> container"
- is "$output" "Error: fakepolicy invalid restart policy"
+ run_podman 125 start --filter restart-policy=fakepolicy $cid
+ is "$output" "Error: fakepolicy invalid restart policy" \
+ "CID of restart-policy=<not-exists> container"
}
@test "podman start --all --filter" {