diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-15 06:19:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 06:19:07 -0400 |
commit | ef7f584acf65692a6b2a11a352a8d09d8a604ff6 (patch) | |
tree | 85044a2360ddbb7a7845de11ec1016bf6996baab /test/system/200-pod.bats | |
parent | 41eda417fe4565cab26d704daedca0d285327f31 (diff) | |
parent | 1646da834c06d55e7bf56b272f2666659117e6fa (diff) | |
download | podman-ef7f584acf65692a6b2a11a352a8d09d8a604ff6.tar.gz podman-ef7f584acf65692a6b2a11a352a8d09d8a604ff6.tar.bz2 podman-ef7f584acf65692a6b2a11a352a8d09d8a604ff6.zip |
Merge pull request #8025 from edsantiago/bats
System test additions
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 2ae038dfe..1d17c8cad 100644 --- a/test/system/200-pod.bats +++ b/test/system/200-pod.bats @@ -66,6 +66,12 @@ function teardown() { run_podman pod exists $podname run_podman pod exists $podid + # (Assert that output is formatted, not a one-line blob: #8021) + run_podman pod inspect $podname + if [[ "${#lines[*]}" -lt 10 ]]; then + die "Output from 'pod inspect' is only ${#lines[*]} lines; see #8011" + fi + # Randomly-assigned port in the 5xxx range for port in $(shuf -i 5000-5999);do if ! { exec 3<> /dev/tcp/127.0.0.1/$port; } &>/dev/null; then |