summaryrefslogtreecommitdiff
path: root/test/system/070-build.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/070-build.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/070-build.bats')
-rw-r--r--test/system/070-build.bats6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/system/070-build.bats b/test/system/070-build.bats
index 287323bbf..0741357ed 100644
--- a/test/system/070-build.bats
+++ b/test/system/070-build.bats
@@ -224,6 +224,12 @@ EOF
# Confirm that 'podman inspect' shows the expected values
# FIXME: can we rely on .Env[0] being PATH, and the rest being in order??
run_podman image inspect build_test
+
+ # (Assert that output is formatted, not a one-line blob: #8011)
+ if [[ "${#lines[*]}" -lt 10 ]]; then
+ die "Output from 'image inspect' is only ${#lines[*]} lines; see #8011"
+ fi
+
tests="
Env[1] | MYENV1=$s_env1
Env[2] | MYENV2=this-should-be-overridden-by-env-host