diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-11-01 06:27:13 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-01-12 08:32:42 -0500 |
commit | fde6ad637355ee27929da084e2920ef2b730875c (patch) | |
tree | b764a8dfacc5ef200b753648e76e2032d6645237 /test/system/050-stop.bats | |
parent | c75c6ce908652afad82612f7d9096925140f19b1 (diff) | |
download | podman-fde6ad637355ee27929da084e2920ef2b730875c.tar.gz podman-fde6ad637355ee27929da084e2920ef2b730875c.tar.bz2 podman-fde6ad637355ee27929da084e2920ef2b730875c.zip |
Add --noout option to prevent the output of ids
Fixes: https://github.com/containers/podman/issues/11515
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system/050-stop.bats')
-rw-r--r-- | test/system/050-stop.bats | 5 |
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 |