Skip to content

Commit

Permalink
Fix broken test script
Browse files Browse the repository at this point in the history
Do this by dropping backwards F39 install workaround.
The actual problem was "$releasever", should have been ${releasever}

Signed-off-by: Simo Sorce <[email protected]>
  • Loading branch information
simo5 committed Jun 14, 2024
1 parent e5e59e3 commit 8338838
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
9 changes: 1 addition & 8 deletions tests/integration/bind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,7 @@ install_dependencies()
{
title PARA "Install dependencies"

FEDORA_VERSION=$(rpm -q --qf "%{V}" fedora-release-common)
if [ "$FEDORA_VERSION" -lt 39 ]; then
echo "ERROR: This test requires at least Fedora 39!"
exit 1
elif [ "$FEDORA_VERSION" -eq 39 ]; then
releasever="--releasever=40"
fi
dnf install -y "$releasever" --skip-broken \
dnf install -y --skip-broken \
meson \
p11-kit httpd mod_ssl openssl-devel gnutls-utils nss-tools \
p11-kit-devel p11-kit-server opensc softhsm-devel procps-ng \
Expand Down
9 changes: 1 addition & 8 deletions tests/integration/httpd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,7 @@ install_dependencies()
{
title PARA "Install dependencies"

FEDORA_VERSION=$(rpm -q --qf "%{V}" fedora-release-common)
if [ "$FEDORA_VERSION" -lt 39 ]; then
echo "ERROR: This test requires at least Fedora 39!"
exit 1
elif [ "$FEDORA_VERSION" -eq 39 ]; then
releasever="--releasever=40"
fi
dnf install -y "$releasever" --skip-broken \
dnf install -y --skip-broken \
meson \
p11-kit httpd mod_ssl openssl-devel gnutls-utils nss-tools \
p11-kit-devel p11-kit-server opensc softhsm-devel procps-ng \
Expand Down

0 comments on commit 8338838

Please sign in to comment.