]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: skip dnf signature checks in TEST-88-UPGRADE
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 18 Feb 2026 19:55:41 +0000 (19:55 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 18 Feb 2026 21:41:49 +0000 (21:41 +0000)
Fixes failure on Rawhide:

TEST-88-UPGRADE.sh[512]: Transaction failed: Rpm transaction failed.
TEST-88-UPGRADE.sh[512]: Warning: skipped OpenPGP checks for 15 packages from repository: @commandline
TEST-88-UPGRADE.sh[512]:   - package systemd-shared-260~devel-20260218150812.fc45.x86_64 does not verify: no signature

test/units/TEST-88-UPGRADE.sh

index 96bc8f8aee0f44249b73d580b67bfb901d2dd28d..faf3e3748ee8fff38ef6f9e91c39166d885ffb04 100755 (executable)
@@ -84,7 +84,7 @@ timer2=$(systemctl show -P NextElapseUSecRealtime upgrade_timer_test.timer)
 # FIXME: See https://github.com/systemd/systemd/pull/39293
 systemctl stop systemd-networkd-resolve-hook.socket || true
 
-dnf downgrade -y --allowerasing --disablerepo '*' "$pkgdir"/distro/*.rpm
+dnf downgrade --no-gpgchecks -y --allowerasing --disablerepo '*' "$pkgdir"/distro/*.rpm
 
 # Some distros don't ship networkd, so the test will always fail
 if command -v networkctl >/dev/null; then
@@ -105,7 +105,7 @@ fi
 check_sd
 
 # Finally test the upgrade
-dnf -y upgrade --disablerepo '*' "$pkgdir"/devel/*.rpm
+dnf -y upgrade --no-gpgchecks --disablerepo '*' "$pkgdir"/devel/*.rpm
 
 # TODO: sanity checks
 check_sd