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