diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-04 15:03:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 15:03:40 +0200 |
commit | 650ed437a8abac4d0a67b1b6e17239cb1eea2477 (patch) | |
tree | 88ecafe4ea602b787ff3eff7ed36211f68ca0719 /test/system/200-pod.bats | |
parent | c133e55afc7d5c44a65c4021bf206b65073422a5 (diff) | |
parent | 2d5a2a7640d0f320d391a2fcc6a4bd0eb03b9f9f (diff) | |
download | podman-650ed437a8abac4d0a67b1b6e17239cb1eea2477.tar.gz podman-650ed437a8abac4d0a67b1b6e17239cb1eea2477.tar.bz2 podman-650ed437a8abac4d0a67b1b6e17239cb1eea2477.zip |
Merge pull request #6489 from edsantiago/bats
BATS and APIv2: more tests and tweaks
Diffstat (limited to 'test/system/200-pod.bats')
-rw-r--r-- | test/system/200-pod.bats | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats index 0d14ca990..9a6b39057 100644 --- a/test/system/200-pod.bats +++ b/test/system/200-pod.bats @@ -73,6 +73,12 @@ function teardown() { run_podman run -d --pod $podname $IMAGE nc -l -p $port cid1="$output" + # (While we're here, test the 'Pod' field of 'podman ps'. Expect two ctrs) + run_podman ps --format '{{.Pod}}' + newline=" +" + is "$output" "${podid:0:12}${newline}${podid:0:12}" "sdfdsf" + # Talker: send the message via common port on localhost message=$(random_string 15) run_podman run --rm --pod $podname $IMAGE \ |