summaryrefslogtreecommitdiffstats
path: root/test/test-network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-08-22 21:30:02 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-08-23 16:57:17 +0200
commit5dc74c6667b0ddcb86b798d6dffc4f991acffbad (patch)
treebe5cc71aca0c34a8845106c58f22f715b2bbce1c /test/test-network
parentnetwork/routing-policy-rule: read FRA_PROTOCOL afer reading other properties (diff)
downloadsystemd-5dc74c6667b0ddcb86b798d6dffc4f991acffbad.tar.xz
systemd-5dc74c6667b0ddcb86b798d6dffc4f991acffbad.zip
test-network: check one more rule we configure
Diffstat (limited to 'test/test-network')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py4
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)