From fde6ad637355ee27929da084e2920ef2b730875c Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 1 Nov 2021 06:27:13 -0400 Subject: Add --noout option to prevent the output of ids Fixes: https://github.com/containers/podman/issues/11515 Signed-off-by: Daniel J Walsh --- test/system/050-stop.bats | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/system/050-stop.bats') 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 -- cgit v1.2.3-54-g00ecf