diff --git a/tests/browser.sh b/tests/browser.sh index 0775d44..bd04aea 100755 --- a/tests/browser.sh +++ b/tests/browser.sh @@ -44,6 +44,10 @@ podman pull docker.io/busybox podman pull docker.io/alpine podman pull docker.io/registry:2 +# HACK: avoid leftover user podman processes between login sessions: https://github.com/containers/podman/issues/7021 +mkdir -p /etc/systemd/user/podman.service.d +printf '[Service]\nKillMode=\n' > /etc/systemd/user/podman.service.d/cleanup.conf + # pull images for user podman tests; podman insists on user session loginctl enable-linger $(id -u admin) sudo -i -u admin bash << EOF diff --git a/tests/run-test.sh b/tests/run-test.sh index 0e61adb..c05d78d 100755 --- a/tests/run-test.sh +++ b/tests/run-test.sh @@ -14,7 +14,8 @@ export TEST_OS="${ID}-${VERSION_ID/./-}" export TEST_AUDIT_NO_SELINUX=1 RC=0 -test/check-application -tv --machine 127.0.0.1:22 --browser 127.0.0.1:9090 TestApplication.testBasicSystem || RC=$? +test/check-application -tv --machine 127.0.0.1:22 --browser 127.0.0.1:9090 \ + TestApplication.test{BasicSystem,BasicUser,DownloadImage,LifecycleOperationsUser,LifecycleOperationsSystem} || RC=$? echo $RC > "$LOGS/exitcode" cp --verbose Test* "$LOGS" || true