]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-sd-device: check if /run/udev/ exists
authorLuca Boccassi <bluca@debian.org>
Mon, 24 Oct 2022 23:50:05 +0000 (00:50 +0100)
committerLuca Boccassi <bluca@debian.org>
Tue, 25 Oct 2022 14:10:15 +0000 (15:10 +0100)
commit6cae57d9ade3af9bbcc53f5deb6b6f46d39e51e6
treed82013b8cb2d122317b7d2a9f727310251f8d02e
parentbb6a971cca89c9859638dd6d5c3dd13a835c8aa9
test-sd-device: check if /run/udev/ exists

When running the tests in a chroot /sys/ might be writable, but it
doesn't mean udev will be running

Assertion 'sd_event_add_inotify(event, NULL, "/run/udev" , IN_DELETE, on_inotify, NULL) >= 0' failed at src/libsystemd/sd-device/test-sd-device.c:352, function test_sd_device_enumerator_filter_subsystem(). Aborting.
src/libsystemd/sd-device/test-sd-device.c