summaryrefslogtreecommitdiff
path: root/test/system/200-pod.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-21 13:20:36 -0400
committerGitHub <noreply@github.com>2021-04-21 13:20:36 -0400
commit897f6c3a4a55bfc82a989c81cb3dc8998965c408 (patch)
tree2b257f4fbd123bdea9196af0e38b0ff77228be13 /test/system/200-pod.bats
parent544c3156657e078cef297623842f79cb72dc32c6 (diff)
parent8ebeadc3c68d0291e9de6ce4b6fedf17f362129f (diff)
downloadpodman-897f6c3a4a55bfc82a989c81cb3dc8998965c408.tar.gz
podman-897f6c3a4a55bfc82a989c81cb3dc8998965c408.tar.bz2
podman-897f6c3a4a55bfc82a989c81cb3dc8998965c408.zip
Merge pull request #10088 from rhatdan/no-headers
Add --noheading flag to all list commands
Diffstat (limited to 'test/system/200-pod.bats')
-rw-r--r--test/system/200-pod.bats11
1 files changed, 11 insertions, 0 deletions
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 )