]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: assume the test is running with newer udevd
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 21 Feb 2026 20:15:44 +0000 (05:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 17 May 2026 17:44:46 +0000 (02:44 +0900)
test/test-network/systemd-networkd-tests.py

index 329cbe1e1daca9401d956b1b156d47b71a69a5e4..7123f052ac14877e6890986f02c0edc67666d085 100755 (executable)
@@ -1529,10 +1529,6 @@ class NetworkctlTests(unittest.TestCase, Utilities):
 
         self.check_networkd_log('test1: Configuring with /run/systemd/network/11-test-unit-file.network (dropins: /run/systemd/network/11-test-unit-file.network.d/dropin.conf).')
 
-        # This test may be run on the system that has older udevd than 70f32a260b5ebb68c19ecadf5d69b3844896ba55 (v249).
-        # In that case, the udev DB for the loopback network interface may already have ID_NET_LINK_FILE property.
-        # Let's reprocess the interface and drop the property.
-        udevadm_trigger('/sys/class/net/lo')
         output = networkctl_status('lo')
         print(output)
         self.assertIn('Link File: n/a', output)