summaryrefslogtreecommitdiff
path: root/test/system/070-build.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-08 19:25:29 +0200
committerGitHub <noreply@github.com>2019-07-08 19:25:29 +0200
commit3fdf1a2c447ac3b26ae51e266ca4a781da30a5c1 (patch)
tree9a20aa8fdd6de71987306660035a44ef304151b0 /test/system/070-build.bats
parented3acaecbfeead3b0fef5928e47ecc9f34cd8d5b (diff)
parent19ddcf925162a6bfa8304b627c6583d645cc496b (diff)
downloadpodman-3fdf1a2c447ac3b26ae51e266ca4a781da30a5c1.tar.gz
podman-3fdf1a2c447ac3b26ae51e266ca4a781da30a5c1.tar.bz2
podman-3fdf1a2c447ac3b26ae51e266ca4a781da30a5c1.zip
Merge pull request #3377 from TomSweeneyRedHat/dev/tsweeney/gate
Add RUN priv'd test for build
Diffstat (limited to 'test/system/070-build.bats')
-rw-r--r--test/system/070-build.bats3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/070-build.bats b/test/system/070-build.bats
index 53acf6edd..c1e7c7ec4 100644
--- a/test/system/070-build.bats
+++ b/test/system/070-build.bats
@@ -20,15 +20,16 @@ load helpers
dockerfile=$tmpdir/Dockerfile
cat >$dockerfile <<EOF
FROM $IMAGE
+RUN apk add nginx
RUN echo $rand_content > /$rand_filename
EOF
run_podman build -t build_test --format=docker $tmpdir
+ is "$output" ".*STEP 4: COMMIT" "COMMIT seen in log"
run_podman run --rm build_test cat /$rand_filename
is "$output" "$rand_content" "reading generated file in image"
run_podman rmi build_test
}
-
# vim: filetype=sh