linux/tools/testing/selftests/tc-testing/tc-tests
Jonathan Lennox 756f88ff9c tc-tests: Update tc police action tests for tc buffer size rounding fixes.
Before tc's recent change to fix rounding errors, several tests which
specified a burst size of "1m" would translate back to being 1048574
bytes (2b less than 1Mb).  sprint_size prints this as "1024Kb".

With the tc fix, the burst size is instead correctly reported as
1048576 bytes (precisely 1Mb), which sprint_size prints as "1Mb".

This updates the expected output in the tests' matchPattern values
to accept either the old or the new output.

Signed-off-by: Jonathan Lennox <jonathan.lennox@8x8.com>
Link: https://patch.msgid.link/20250312174804.313107-1-jonathan.lennox@8x8.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 18:40:24 +01:00
..
actions tc-tests: Update tc police action tests for tc buffer size rounding fixes. 2025-03-19 18:40:24 +01:00
filters selftests: tc-testing: reduce rshift value 2025-01-04 08:49:47 -08:00
infra selftests/tc-testing: Add a test case for qdisc_tree_reduce_backlog() 2025-02-05 18:15:00 -08:00
qdiscs selftests/tc-testing: Add a test case for DRR class with TC_H_ROOT 2025-03-12 12:52:14 -07:00