1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-23 19:05:46 +00:00

podman: set PODMAN_TESTING env

The system tests need that location in order to use the right binary
path from the rpm.

ref: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/373

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2025-04-23 16:50:23 +02:00
parent 5fdc716c32
commit f95de0a058
No known key found for this signature in database
GPG Key ID: EB145DD938A3CAF2

View File

@ -22,6 +22,9 @@ sub run {
else {
# install podman and run the upstream integration tests
assert_script_run "dnf -y install podman podman-tests bats", 600;
# podman system tests use a relative path for podman-testing by default,
# we need to set it to the location where the podman-tests package installs it.
assert_script_run 'export PODMAN_TESTING=/usr/bin/podman-testing';
# needed so we exit 1 when the bats command fails
assert_script_run "set -o pipefail";
assert_script_run "bats --filter-tags distro-integration /usr/share/podman/test/system | tee /tmp/podman-bats.txt", 600;