]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-network: do not pass '[detached]' to 'ip rule del'
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Aug 2024 11:56:35 +0000 (20:56 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Aug 2024 12:02:31 +0000 (21:02 +0900)
commit936dec4337db67c5d3cfbb8e6b8d73fa1c5bd27f
tree2e7e5746c196358cae923abf6bb2eb786b63d450
parentac1d8aa5bccda598d357b993bd7c9cc99ae04707
test-network: do not pass '[detached]' to 'ip rule del'

That indicates the interface name in 'iif' or 'oif' cannot be resolved
when 'ip rule' command is invoked. That's natural when networkd fail to
remove rule but the corresponding interface is already removed.
To make not the residual rules interfere subsequent test cases, let's
ignore the flag and actually remove unwanted rules.
test/test-network/systemd-networkd-tests.py