diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-29 13:27:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 13:27:19 -0500 |
commit | 8f3bcf62474bbfba26982bae88febecd4fa630c2 (patch) | |
tree | 90c18a452d3f92f49e6d4e3df09f4861cd808105 /test/system/070-build.bats | |
parent | 4ee66c2c2ecc747ec3d567c0cff6fb89b2f8f112 (diff) | |
parent | c0bf0ba9e5bfa3df343dd3364c0ee2d8c737ae59 (diff) | |
download | podman-8f3bcf62474bbfba26982bae88febecd4fa630c2.tar.gz podman-8f3bcf62474bbfba26982bae88febecd4fa630c2.tar.bz2 podman-8f3bcf62474bbfba26982bae88febecd4fa630c2.zip |
Merge pull request #9144 from vrothberg/fix-9134
Revert "podman build --pull: use correct policy"
Diffstat (limited to 'test/system/070-build.bats')
-rw-r--r-- | test/system/070-build.bats | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/system/070-build.bats b/test/system/070-build.bats index 6b5bc68fb..7a42a4c18 100644 --- a/test/system/070-build.bats +++ b/test/system/070-build.bats @@ -29,29 +29,6 @@ EOF run_podman rmi -f build_test } -@test "podman build - basic test with --pull" { - rand_filename=$(random_string 20) - rand_content=$(random_string 50) - - run_podman tag $IMAGE localhost/localonly - - tmpdir=$PODMAN_TMPDIR/build-test - mkdir -p $tmpdir - dockerfile=$tmpdir/Dockerfile - cat >$dockerfile <<EOF -FROM localhost/localonly -RUN echo $rand_content > /$rand_filename -EOF - # With --pull, Podman would try to pull a newer image but use the local one - # if present. See #9111. - run_podman build --pull -t build_test $tmpdir - - run_podman run --rm build_test cat /$rand_filename - is "$output" "$rand_content" "reading generated file in image" - - run_podman rmi -f build_test localhost/localonly -} - @test "podman build - global runtime flags test" { skip_if_remote "--runtime-flag flag not supported for remote" |