diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-21 13:20:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 13:20:36 -0400 |
commit | 897f6c3a4a55bfc82a989c81cb3dc8998965c408 (patch) | |
tree | 2b257f4fbd123bdea9196af0e38b0ff77228be13 /test/system/040-ps.bats | |
parent | 544c3156657e078cef297623842f79cb72dc32c6 (diff) | |
parent | 8ebeadc3c68d0291e9de6ce4b6fedf17f362129f (diff) | |
download | podman-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/040-ps.bats')
-rw-r--r-- | test/system/040-ps.bats | 5 |
1 files changed, 3 insertions, 2 deletions
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 } |