diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-19 18:51:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 18:51:47 +0200 |
commit | c60d7ca5d6725b2b77ba26ab2d4bec6af7c09bcd (patch) | |
tree | dcaa0be81890fc5ac260e3cc7c17c4d6e97da503 | |
parent | c211b3ff6a71413dbeba90f8ec8f13fec9622291 (diff) | |
parent | 7eda299e91884eef5c2026e5a1c8ffb1749cdf24 (diff) | |
download | podman-c60d7ca5d6725b2b77ba26ab2d4bec6af7c09bcd.tar.gz podman-c60d7ca5d6725b2b77ba26ab2d4bec6af7c09bcd.tar.bz2 podman-c60d7ca5d6725b2b77ba26ab2d4bec6af7c09bcd.zip |
Merge pull request #3372 from TomSweeneyRedHat/dev/tsweeney/testpriv
Add RUN with priv'd command build test
-rw-r--r-- | test/test_podman_build.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/test_podman_build.sh b/test/test_podman_build.sh index 39f1e784d..e3e53cae6 100644 --- a/test/test_podman_build.sh +++ b/test/test_podman_build.sh @@ -196,10 +196,22 @@ echo ######################################################## echo test "build with preprocessor" echo ######################################################## - target=alpine-image + TARGET=alpine-image podman build -q -t ${TARGET} -f Decomposed.in $HOME/test/build/preprocess buildah --debug=false images CID=$(buildah from $TARGET) buildah rm $CID podman rmi $(buildah --debug=false images -q) buildah --debug=false images -q + +echo ######################################################## +echo test "build with priv'd RUN" +echo ######################################################## + + TARGET=alpinepriv + podman build -q -t ${TARGET} -f $HOME/test/build/run-privd $HOME/test/build/run-privd + buildah --debug=false images + CID=$(buildah from $TARGET) + buildah rm $CID + podman rmi $(buildah --debug=false images -q) + buildah --debug=false images -q |