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/200-pod.bats | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/system/200-pod.bats') diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats index c65449212..054eda908 100644 --- a/test/system/200-pod.bats +++ b/test/system/200-pod.bats @@ -17,6 +17,17 @@ function teardown() { } +@test "podman pod - basic tests" { + run_podman pod list --noheading + is "$output" "" "baseline: empty results from list --noheading" + + run_podman pod ls --noheading + is "$output" "" "baseline: empty results from ls --noheading" + + run_podman pod ps --noheading + is "$output" "" "baseline: empty results from ps --noheading" +} + @test "podman pod top - containers in different PID namespaces" { # With infra=false, we don't get a /pause container (we also # don't pull k8s.gcr.io/pause ) -- cgit v1.2.3-54-g00ecf