diff --git a/test/system/520-checkpoint.bats b/test/system/520-checkpoint.bats index a581f1bf47..b138238693 100644 --- a/test/system/520-checkpoint.bats +++ b/test/system/520-checkpoint.bats @@ -132,6 +132,10 @@ function setup() { # bats test_tags=ci:parallel @test "podman checkpoint --export, with volumes" { + if [[ -n "$HOST_DISTRO_NAME" && "$HOST_DISTRO_NAME" == "fedora" ]] && [[ -n "$HOST_DISTRO_RELEASE" && "$HOST_DISTRO_RELEASE" == "43" ]]; then + skip "Broken on Fedora 43: https://github.com/containers/crun/issues/1770" + fi + skip_if_remote "Test uses --root/--runroot, which are N/A over remote" local p_opts="$(podman_isolation_opts ${PODMAN_TMPDIR}) --events-backend file" diff --git a/test/system/helpers.bash b/test/system/helpers.bash index e61c17f8e0..6303d3207e 100644 --- a/test/system/helpers.bash +++ b/test/system/helpers.bash @@ -41,6 +41,16 @@ if [ $(id -u) -eq 0 ]; then _LOG_PROMPT='#' fi +if [[ -f /etc/os-release ]]; then + source /etc/os-release + if [[ -n "$ID" ]]; then + export HOST_DISTRO_NAME="$ID" + fi + if [[ -n "$VERSION_ID" ]]; then + export HOST_DISTRO_RELEASE="$VERSION_ID" + fi +fi + # Invocations via su may not set this. Although all container tools make # an effort to determine a default if unset, there are corner cases (rootless # namespace preservation) that run before the default is set. diff --git a/test/tmt/system.sh b/test/tmt/system.sh index 3cd29dae03..0a98fc11b0 100644 --- a/test/tmt/system.sh +++ b/test/tmt/system.sh @@ -4,6 +4,8 @@ set -exo pipefail uname -r +cat /etc/os-release + loginctl enable-linger "$ROOTLESS_USER" rpm -q \