summaryrefslogtreecommitdiff
path: root/test/system/160-volumes.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-15 06:19:07 -0400
committerGitHub <noreply@github.com>2020-10-15 06:19:07 -0400
commitef7f584acf65692a6b2a11a352a8d09d8a604ff6 (patch)
tree85044a2360ddbb7a7845de11ec1016bf6996baab /test/system/160-volumes.bats
parent41eda417fe4565cab26d704daedca0d285327f31 (diff)
parent1646da834c06d55e7bf56b272f2666659117e6fa (diff)
downloadpodman-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/160-volumes.bats')
-rw-r--r--test/system/160-volumes.bats6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats
index 1c1e0f4ae..9f4bb76a2 100644
--- a/test/system/160-volumes.bats
+++ b/test/system/160-volumes.bats
@@ -213,6 +213,12 @@ EOF
run_podman volume create $vol
done
+ # (Assert that output is formatted, not a one-line blob: #8011)
+ run_podman volume inspect ${v[1]}
+ if [[ "${#lines[*]}" -lt 10 ]]; then
+ die "Output from 'volume inspect' is only ${#lines[*]} lines; see #8011"
+ fi
+
# Run two containers: one mounting v1, one mounting v2 & v3
run_podman run --name c1 --volume ${v[1]}:/vol1 $IMAGE date
run_podman run --name c2 --volume ${v[2]}:/vol2 -v ${v[3]}:/vol3 \