aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-15 16:12:13 -0400
committerGitHub <noreply@github.com>2021-06-15 16:12:13 -0400
commitb422a4eb49182f6b90dae9ed041546cc46cc59db (patch)
treec4dacae909dd97b1477a0e58ceec2913df3e585c /test
parent463a5a7db5b096f225324d9c2c40e40a47f6e7c2 (diff)
parent302b3084ebadb13a0b203eac63e24b0e5d3535a0 (diff)
downloadpodman-b422a4eb49182f6b90dae9ed041546cc46cc59db.tar.gz
podman-b422a4eb49182f6b90dae9ed041546cc46cc59db.tar.bz2
podman-b422a4eb49182f6b90dae9ed041546cc46cc59db.zip
Merge pull request #10595 from boaz0/closes_10539
Add podman-restart systemd unit file
Diffstat (limited to 'test')
-rw-r--r--test/system/045-start.bats11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/system/045-start.bats b/test/system/045-start.bats
index 3e0118dba..7e4bbde8d 100644
--- a/test/system/045-start.bats
+++ b/test/system/045-start.bats
@@ -59,4 +59,15 @@ load helpers
is "$output" "Error: fakepolicy invalid restart policy"
}
+@test "podman start --all --filter" {
+ run_podman run -d $IMAGE /bin/true
+ cid_exited_0="$output"
+ run_podman run -d $IMAGE /bin/false
+ cid_exited_1="$output"
+
+ run_podman wait $cid_exited_0 $cid_exited_1
+ run_podman start --all --filter exited=0
+ is "$output" "$cid_exited_0"
+}
+
# vim: filetype=sh