This PR will enable test runs using TMT. These tests can be maintained here for starters and fetched and reused in the podman rpm for toolbox tests on bodhi updates. https://src.fedoraproject.org/rpms/toolbox/pull-request/24
11 lines
278 B
Bash
11 lines
278 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -exo pipefail
|
|
|
|
uname -r
|
|
|
|
loginctl enable-linger "$ROOTLESS_USER"
|
|
|
|
rpm -q containers-common-extra podman toolbox
|
|
|
|
su --whitelist-environment=$(cat ./tmt-envvars | tr '\n' ',') - "$ROOTLESS_USER" -c "whoami && cd /usr/share/toolbox/test/system && bats ."
|