mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 14:32:27 -04:00
selftests: Introduce tc testsuite
Add the beginnings of a testsuite for tc functionality in the kernel. These are a series of unit tests that use the tc executable and verify the success of those commands by checking both the exit codes and the output from tc's 'show' operation. To run the tests: # cd tools/testing/selftests/tc-testing # sudo ./tdc.py You can specify the tc executable to use with the -p argument on the command line or editing the 'TC' variable in tdc_config.py. Refer to the README for full details on how to run. The initial complement of test cases are limited mostly to tc actions. Test cases are most welcome; see the creating-testcases subdirectory for help in creating them. Signed-off-by: Lucas Bates <lucasb@mojatatu.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
93dda1e0d6
commit
76b903ee19
1115
tools/testing/selftests/tc-testing/tc-tests/actions/tests.json
Normal file
1115
tools/testing/selftests/tc-testing/tc-tests/actions/tests.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user