From 886ddc0bccbac4f8e358e9b0d6b4edc780a0cbf6 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 14 Feb 2025 10:50:18 +0100 Subject: [PATCH] test: debug print `INSTALLED_DISTROS` in cross-distro.sh Add more information when the cross-distro.sh test fails. Currently it prints: ``` DEBUG: ===== ALL_DISTROS ==== rhel-8 ... rhel-8 DEBUG: ===== ALL_EXPECTED_DISTROS ==== fedora-40 ... fedora-42 DEBUG: ===== ALL_REMAINDERS ==== rhel-8 .... rhel-8 DEBUG: ===== END ==== Some distros are missing! Missing distros: ``` But the most crucial information (i.e. what is installed) is missing from this debug print (it can be found in a different output but lets make it easy). --- test/cases/cross-distro.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/cases/cross-distro.sh b/test/cases/cross-distro.sh index a9826b2d4..7b6af8251 100755 --- a/test/cases/cross-distro.sh +++ b/test/cases/cross-distro.sh @@ -124,6 +124,8 @@ echo "DEBUG: ===== ALL_DISTROS ====" echo "$ALL_DISTROS" echo "DEBUG: ===== ALL_EXPECTED_DISTROS ====" echo "$ALL_EXPECTED_DISTROS" +echo "DEBUG: ===== INSTALLED_DISTROS ====" +echo "$INSTALLED_DISTROS" echo "DEBUG: ===== ALL_REMAINDERS ====" echo "$ALL_REMAINDERS" echo "DEBUG: ===== END ===="