Blame SOURCES/0121-test-sd-device-skip-misc-devices.patch
|
|
ac3a84 |
From c6b52050b8da6f5e7cdd2f057141af236288e78b Mon Sep 17 00:00:00 2001
|
|
|
ac3a84 |
From: Jan Macku <jamacku@redhat.com>
|
|
|
ac3a84 |
Date: Mon, 31 Oct 2022 10:58:11 +0100
|
|
|
ac3a84 |
Subject: [PATCH] test-sd-device: skip "misc" devices
|
|
|
ac3a84 |
|
|
|
ac3a84 |
rhel-only
|
|
|
ac3a84 |
|
|
|
ac3a84 |
Related: #2138081
|
|
|
ac3a84 |
---
|
|
|
ac3a84 |
src/libsystemd/sd-device/test-sd-device.c | 1 +
|
|
|
ac3a84 |
1 file changed, 1 insertion(+)
|
|
|
ac3a84 |
|
|
|
ac3a84 |
diff --git a/src/libsystemd/sd-device/test-sd-device.c b/src/libsystemd/sd-device/test-sd-device.c
|
|
|
ac3a84 |
index 4ab8b3894a..a1bcf18059 100644
|
|
|
ac3a84 |
--- a/src/libsystemd/sd-device/test-sd-device.c
|
|
|
ac3a84 |
+++ b/src/libsystemd/sd-device/test-sd-device.c
|
|
|
ac3a84 |
@@ -204,6 +204,7 @@ TEST(sd_device_enumerator_devices) {
|
|
|
ac3a84 |
/* On CentOS CI, systemd-networkd-tests.py may be running when this test is invoked. The networkd
|
|
|
ac3a84 |
* test creates and removes many network interfaces, and may interfere with this test. */
|
|
|
ac3a84 |
assert_se(sd_device_enumerator_add_match_subsystem(e, "net", false) >= 0);
|
|
|
ac3a84 |
+ assert_se(sd_device_enumerator_add_match_subsystem(e, "misc", false) >= 0);
|
|
|
ac3a84 |
FOREACH_DEVICE(e, d)
|
|
|
ac3a84 |
test_sd_device_one(d);
|
|
|
ac3a84 |
}
|