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/080-pause.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/080-pause.bats')
-rw-r--r-- | test/system/080-pause.bats | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/080-pause.bats b/test/system/080-pause.bats index 857c8bbf4..57f390a74 100644 --- a/test/system/080-pause.bats +++ b/test/system/080-pause.bats @@ -21,7 +21,8 @@ load helpers # time to write a new post-restart time value. Pause by CID, unpause # by name, just to exercise code paths. While paused, check 'ps' # and 'inspect', then check again after restarting. - run_podman pause $cid + run_podman --noout pause $cid + is "$output" "" "output should be empty" run_podman inspect --format '{{.State.Status}}' $cid is "$output" "paused" "podman inspect .State.Status" sleep 3 |