]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-sd-device: drop chunk added by mistake
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 10 Apr 2025 14:00:59 +0000 (16:00 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 7 May 2025 13:02:46 +0000 (22:02 +0900)
I initially wrote it this way, but then decided to implement a loop
limit, but forgot to drop the first approach in one place.
Fixup for 74cb65e45fbf3468cf6b522e4b4fa568d95f12c6.

src/libsystemd/sd-device/test-sd-device.c

index 85c3beb04fbb824bb9d28db697444732adb09b23..9758e0733067fb5021c6db405fc1386f9391972e 100644 (file)
@@ -488,8 +488,6 @@ TEST(sd_device_enumerator_add_match_parent) {
         ASSERT_OK(sd_device_enumerator_allow_uninitialized(e));
         exclude_problematic_devices(e);
 
-        ASSERT_OK(sd_device_enumerator_add_match_subsystem(e, "memory", false));
-
         if (!slow_tests_enabled())
                 ASSERT_OK(sd_device_enumerator_add_match_subsystem(e, "block", true));