From 1aa0ec0c00209bf7438b8d5fd1d2ffe03673695a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Thu, 6 Nov 2025 08:40:54 +0100 Subject: [PATCH] Work around debuginfo-install hiccups on Rawhide --- .../RHEL-79264_stack-prot_fails_bootconfig/runtest.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Regression/RHEL-79264_stack-prot_fails_bootconfig/runtest.sh b/Regression/RHEL-79264_stack-prot_fails_bootconfig/runtest.sh index 705cead..f423ce5 100755 --- a/Regression/RHEL-79264_stack-prot_fails_bootconfig/runtest.sh +++ b/Regression/RHEL-79264_stack-prot_fails_bootconfig/runtest.sh @@ -28,10 +28,14 @@ rlJournalStart rlAssertRpm --all export COLLECTIONS="$_COLLECTIONS" - # We need kernel-tools' debuginfo, with *matching* version-release + # We /may/ need kernel-tools' debuginfo, with *matching* version-release. + # On Fedora rawhide, the debuginfo is sometimes unreachable but luckily + # for us, the test passes just as well. rlRun "KERNEL_TOOLS_VERSION_RELEASE=$(rpm -q --qf='%{VERSION}-%{RELEASE}' kernel-tools.${PRI_ARCH})" - rlRun "debuginfo-install -y kernel-tools-${KERNEL_TOOLS_VERSION_RELEASE}.${PRI_ARCH}" - rlAssertRpm "kernel-tools-debuginfo-${KERNEL_TOOLS_VERSION_RELEASE}.${PRI_ARCH}" + rlRun "debuginfo-install -y kernel-tools-${KERNEL_TOOLS_VERSION_RELEASE}.${PRI_ARCH}" 0-255 + if ! rlIsFedora; then + rlAssertRpm "kernel-tools-debuginfo-${KERNEL_TOOLS_VERSION_RELEASE}.${PRI_ARCH}" + fi rlRun "TmpDir=\$(mktemp -d)" rlRun "pushd $TmpDir"