test-network: check one more rule we configure

This commit is contained in:
Yu Watanabe 2024-08-23 04:30:02 +09:00
parent 361f70f707
commit 5dc74c6667

View File

@ -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)