summaryrefslogtreecommitdiff
path: root/test/system/050-stop.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-12 20:12:19 +0100
committerGitHub <noreply@github.com>2022-01-12 20:12:19 +0100
commit3f0661639c3ef3b18e4437f00075352df0af6cee (patch)
treefd2e33452247373b176f70ff2ab6c5f503527d92 /test/system/050-stop.bats
parentf69fcb24832780a9cc4fd17818967374fcb0710f (diff)
parentfde6ad637355ee27929da084e2920ef2b730875c (diff)
downloadpodman-3f0661639c3ef3b18e4437f00075352df0af6cee.tar.gz
podman-3f0661639c3ef3b18e4437f00075352df0af6cee.tar.bz2
podman-3f0661639c3ef3b18e4437f00075352df0af6cee.zip
Merge pull request #12151 from rhatdan/noout
Add --noout option to prevent the output of ids
Diffstat (limited to 'test/system/050-stop.bats')
-rw-r--r--test/system/050-stop.bats5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/system/050-stop.bats b/test/system/050-stop.bats
index e049da518..7dd8f98e8 100644
--- a/test/system/050-stop.bats
+++ b/test/system/050-stop.bats
@@ -173,4 +173,9 @@ load helpers
is "$output" ".*StopSignal SIGTERM failed to stop container stopme in 1 seconds, resorting to SIGKILL" "stopping container should print warning"
}
+@test "podman stop --noout" {
+ run_podman run --rm --name stopme -d $IMAGE top
+ run_podman --noout stop -t 0 stopme
+ is "$output" "" "output should be empty"
+}
# vim: filetype=sh