From df161ad23d5d88e0c3c0e3472d3ccac17e101de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Wed, 24 Jul 2024 16:32:45 +0200 Subject: [PATCH] Tests/cross-distro.sh: ignore upstream repos suffixed with 'no-aux-key' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test case mistakenly takes into consideration also upstream repo definitions with the 'no-aux-key' suffix, which are however never installed by RPMs with this name. Signed-off-by: Tomáš Hozza --- test/cases/cross-distro.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cases/cross-distro.sh b/test/cases/cross-distro.sh index 7cdb90be5..91078e1eb 100755 --- a/test/cases/cross-distro.sh +++ b/test/cases/cross-distro.sh @@ -115,7 +115,7 @@ fi # ALL_EXPECTED_DISTROS - all distros matching host pattern # ALL_REMAINDERS - all the unrecognized distros # Filter out beta and centos-stream, see GH issue #2257 -ALL_DISTROS=$(find "$REPO_PATH" -name '*.json' -printf '%P\n' | awk -F "." '{ print $1 }') +ALL_DISTROS=$(find "$REPO_PATH" -name '*.json' -printf '%P\n' | grep -v 'no-aux-key' | awk -F "." '{ print $1 }') ALL_EXPECTED_DISTROS=$(echo "$ALL_DISTROS" | grep -E "$PATTERN" | grep -Ev 'beta|stream' | sort) # Warning: filter out the remaining distros by matching whole words to avoid matching # the value rhel-9X by the pattern rhel-9!