]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-sd-device: also exclude dm block devices
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 21 Jul 2025 19:35:25 +0000 (04:35 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 22 Jul 2025 00:04:42 +0000 (01:04 +0100)
commit911a52b769e477fd13fbc84d9ac098b8c0298eaf
tree54aff7819d40e91a70041e3ba009d7c669bd5805
parent8f5eaeb143dd9e58503980ae5f63dd78c463180e
test-sd-device: also exclude dm block devices

To avoid the following error:
```
test_sd_device_one(/sys/devices/virtual/block/dm-9)
src/libsystemd/sd-device/test-sd-device.c:104: Assertion failed: Expected "sd_device_new_from_syspath(&dev, syspath)" to succeed, but got error: -19/ENODEV
```

This also updates outdates comment about CentOS CI.
src/libsystemd/sd-device/test-sd-device.c