commit | 198979be6c16aa62025d5a47680f2c7849b7e64c | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Thu Mar 01 13:49:30 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 01 21:19:02 2018 -0500 |
tree | ac773524647c2cbd5c5c8fbb0b1d827308c35063 | |
parent | 5f6f845b608a3fa13e5da0584eea5803710cf708 [diff] |
selftests: forwarding: Only check tc version for tc tests Capabilities of tc command are irrelevant for router tests: $ ./router.sh SKIP: iproute2 too old, missing shared block support Add a CHECK_TC flag and only check tc capabilities if set. Add flag to tc_common.sh and have it sourced before lib.sh Also, if the command lacks some feature the test should exit non-0. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>