mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
test: add workaround for networkd downgrade issue
This commit is contained in:
@@ -83,6 +83,9 @@ timer2=$(systemctl show -P NextElapseUSecRealtime upgrade_timer_test.timer)
|
|||||||
|
|
||||||
dnf downgrade -y --allowerasing --disablerepo '*' "$pkgdir"/distro/*.rpm
|
dnf downgrade -y --allowerasing --disablerepo '*' "$pkgdir"/distro/*.rpm
|
||||||
|
|
||||||
|
# FIXME: See https://github.com/systemd/systemd/pull/39293
|
||||||
|
systemctl stop systemd-networkd-resolve-hook.socket || true
|
||||||
|
|
||||||
# Some distros don't ship networkd, so the test will always fail
|
# Some distros don't ship networkd, so the test will always fail
|
||||||
if command -v networkctl >/dev/null; then
|
if command -v networkctl >/dev/null; then
|
||||||
networkd=1
|
networkd=1
|
||||||
|
|||||||
Reference in New Issue
Block a user