summaryrefslogtreecommitdiffstats
path: root/test/test-network/systemd-networkd-tests.py
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-01-28 18:05:48 +0100
committerLennart Poettering <lennart@poettering.net>2020-01-28 22:33:31 +0100
commita05a6e8bba7eba0f74b7093ae6e033d873b9bf63 (patch)
tree8a58f1bd5dfe89bf57c67ee51b6d16861880ddce /test/test-network/systemd-networkd-tests.py
parentMerge pull request #14685 from poettering/sd-bus-bool-as-int (diff)
downloadsystemd-a05a6e8bba7eba0f74b7093ae6e033d873b9bf63.tar.xz
systemd-a05a6e8bba7eba0f74b7093ae6e033d873b9bf63.zip
test-network: fix test_qdisc2()
quantum and initial_quantum may suffixed with 'b'.
Diffstat (limited to '')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index f45e948b68..eb4eebebae 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -2211,7 +2211,10 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
output = check_output('tc qdisc show dev dummy98')
print(output)
self.assertRegex(output, 'qdisc fq')
- self.assertRegex(output, 'limit 1000p flow_limit 200p buckets 512 orphan_mask 511 quantum 1500 initial_quantum 13000 maxrate 1Mbit')
+ self.assertRegex(output, 'limit 1000p flow_limit 200p buckets 512 orphan_mask 511')
+ self.assertRegex(output, 'quantum 1500')
+ self.assertRegex(output, 'initial_quantum 13000')
+ self.assertRegex(output, 'maxrate 1Mbit')
self.assertRegex(output, 'qdisc codel')
self.assertRegex(output, 'limit 2000p target 10.0ms ce_threshold 100.0ms interval 50.0ms ecn')