From 8ebeadc3c68d0291e9de6ce4b6fedf17f362129f Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 20 Apr 2021 10:03:49 -0400 Subject: Add --noheading flag to all list commands Currently we have only podman images list --noheading. This PR Adds this option to volumes, containers, pods, networks, machines, and secrets. Fixes: https://github.com/containers/podman/issues/10065 Signed-off-by: Daniel J Walsh --- test/system/040-ps.bats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/system/040-ps.bats') diff --git a/test/system/040-ps.bats b/test/system/040-ps.bats index ae27c479f..182d75547 100644 --- a/test/system/040-ps.bats +++ b/test/system/040-ps.bats @@ -5,6 +5,9 @@ load helpers @test "podman ps - basic tests" { rand_name=$(random_string 30) + run_podman ps --noheading + is "$output" "" "baseline: empty results from ps --noheading" + run_podman run -d --name $rand_name $IMAGE sleep 5 cid=$output is "$cid" "[0-9a-f]\{64\}$" @@ -30,8 +33,6 @@ load helpers "${cid:0:12} \+$IMAGE *sleep .* Exited .* $rand_name" \ "podman ps -a" - - run_podman rm $cid } -- cgit v1.2.3-54-g00ecf