mirror of
https://github.com/containers/podman.git
synced 2025-10-20 12:43:58 +08:00

Followup from #20050. Lots of tiny problems in tests, all of them adding up to significant maintainability problems. These tests are currently impossible to run in a dev environment, and super-painful to set up in 1mt, so I've just done a few hours of cleanup and am giving up for the week. This is ready for merge, in the sense that it's much better than what exists now, but it still needs boatloads more work. Signed-off-by: Ed Santiago <santiago@redhat.com>
19 lines
279 B
Bash
19 lines
279 B
Bash
# -*- bash -*-
|
|
|
|
load ../system/helpers.bash
|
|
|
|
function setup(){
|
|
basic_setup
|
|
|
|
# Always create the same containerfile
|
|
cat >$PODMAN_TMPDIR/Containerfile <<EOF
|
|
FROM $IMAGE
|
|
RUN arch | tee /arch.txt
|
|
RUN date | tee /built.txt
|
|
EOF
|
|
}
|
|
|
|
function teardown(){
|
|
basic_teardown
|
|
}
|