• Lucas Bates's avatar
    selftests: Introduce tc testsuite · 76b903ee
    Lucas Bates authored
    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: default avatarLucas Bates <lucasb@mojatatu.com>
    Signed-off-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    76b903ee
AddingTestCases.txt 3.13 KB