diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-22 21:30:02 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-23 16:57:17 +0200 |
commit | 5dc74c6667b0ddcb86b798d6dffc4f991acffbad (patch) | |
tree | be5cc71aca0c34a8845106c58f22f715b2bbce1c /test/test-network | |
parent | network/routing-policy-rule: read FRA_PROTOCOL afer reading other properties (diff) | |
download | systemd-5dc74c6667b0ddcb86b798d6dffc4f991acffbad.tar.xz systemd-5dc74c6667b0ddcb86b798d6dffc4f991acffbad.zip |
test-network: check one more rule we configure
Diffstat (limited to 'test/test-network')
-rwxr-xr-x | test/test-network/systemd-networkd-tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 180db8bde9..04ababe827 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) |