]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: avoid hanging forever waiting for udev if not a booted system
authorLuca Boccassi <luca.boccassi@gmail.com>
Fri, 20 Feb 2026 19:28:34 +0000 (19:28 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 24 Feb 2026 19:53:20 +0000 (04:53 +0900)
commita851c5118bdd8559986fbc5a1905469071f64c40
tree4a1c5142b6fef6a7976d5a50ce337861f1933b59
parente4f72956b6acd3d43129ec6a1ca795bbaafbcc2e
test: avoid hanging forever waiting for udev if not a booted system

test_sd_device_enumerator_filter_subsystem hangs forever in OBS builds,
as it waits for the udev queue to be drained. But this is not a booted
system, with systemd and udev, so nothing will do that.
Skip the test in that case.
src/libsystemd/sd-device/test-sd-device.c