Tests/cross-distro.sh: ignore upstream repos suffixed with 'no-aux-key'
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 <thozza@redhat.com>
This commit is contained in:
parent
239b69261a
commit
df161ad23d
1 changed files with 1 additions and 1 deletions
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue