From: Yu Watanabe Date: Thu, 22 Aug 2024 19:30:02 +0000 (+0900) Subject: test-network: check one more rule we configure X-Git-Tag: v257-rc1~635^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F34110%2Fhead;p=thirdparty%2Fsystemd.git test-network: check one more rule we configure --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 180db8bde91..04ababe8279 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -3225,6 +3225,10 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities): print(output) self.assertIn('101: from all iif test1 lookup 9', output) + output = check_output('ip -6 rule list iif test1 priority 101') + print(output) + self.assertIn('101: from all iif test1 lookup 9', output) + output = check_output('ip rule list iif test1 priority 102') print(output) self.assertIn('102: from 0.0.0.0/8 iif test1 lookup 10', output)