mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
Merge pull request #20376 from edsantiago/buildah_tests
buildah-bud: test relative TMPDIR
This commit is contained in:
@ -279,12 +279,6 @@ skip_if_rootless_remote "FIXME: not sure if 17788 or some other bug" \
|
||||
"bud with Dockerfile from stdin tar" \
|
||||
"build-with-network-test"
|
||||
|
||||
# 2023-06-27 UPDATE: this seems to be fixed? Maybe we can remove this skip?
|
||||
# 2023-05-04 fails with:
|
||||
# Error: creating build container: initializing source docker://debian:testing-slim: reading manifest testing-slim in quay.io/libpod/debian: manifest unknown
|
||||
#skip_if_remote "FIXME: 2023-05-04: new code, fails in podman-remote" \
|
||||
# "bud-verify-if-we-dont-clean-prexisting-path"
|
||||
|
||||
# 2023-06-27 confirmed this is still broken, main @ 3794d067e
|
||||
# 2023-06-13 buildah 4746 changed exit code & expected error message
|
||||
skip "FIXME: 2023-06-13 buildah PR 4746 broke this test" \
|
||||
|
@ -219,8 +219,11 @@ FROM $IMAGE
|
||||
RUN echo $rand_content > /$rand_filename
|
||||
EOF
|
||||
|
||||
# "TMPDIR=relative-path" tests buildah PR #5084. Prior to that, podman failed in RUN:
|
||||
# error running container: checking permissions on "sub-tmp-dir/buildah2917655141": ENOENT
|
||||
cd $PODMAN_TMPDIR
|
||||
run_podman build -t build_test -f ./reldir/Containerfile --format=docker $tmpdir
|
||||
mkdir sub-tmp-dir
|
||||
TMPDIR=sub-tmp-dir run_podman build -t build_test -f ./reldir/Containerfile --format=docker $tmpdir
|
||||
is "$output" ".*COMMIT" "COMMIT seen in log"
|
||||
|
||||
run_podman run --rm build_test cat /$rand_filename
|
||||
|
Reference in New Issue
Block a user