linux/tools/testing/selftests/net
David Ahern 198979be6c 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>
2018-03-01 21:19:02 -05:00
..
forwarding selftests: forwarding: Only check tc version for tc tests 2018-03-01 21:19:02 -05:00
.gitignore selftest: add a reuseaddr test 2017-09-19 14:09:26 -06:00
config selftests: net: Adding config fragment CONFIG_NUMA=y 2017-12-20 14:25:34 -05:00
fib_tests.sh selftests: fib_tests: sleep after changing carrier 2018-02-13 14:34:28 -05:00
fib-onlink-tests.sh selftests: Add FIB onlink tests 2018-02-13 14:47:33 -05:00
in_netns.sh selftests/net: ignore background traffic in psock_fanout 2018-02-23 12:47:05 -05:00
Makefile selftests: Add fib-onlink-tests.sh to TEST_PROGS 2018-02-27 11:41:26 -05:00
msg_zerocopy.c selftests/net: reap zerocopy completions passed up as ancillary data. 2018-02-27 14:19:11 -05:00
msg_zerocopy.sh test: add msg_zerocopy test 2017-08-03 21:37:30 -07:00
netdevice.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
psock_fanout.c selftests/net: ignore background traffic in psock_fanout 2018-02-23 12:47:05 -05:00
psock_lib.h selftests/net: Fixes psock_fanout CBPF test case 2017-04-20 15:39:19 -04:00
psock_tpacket.c
reuseaddr_conflict.c selftest: add a reuseaddr test 2017-09-19 14:09:26 -06:00
reuseport_bpf_cpu.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reuseport_bpf_numa.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reuseport_bpf.c bpf: fix rlimit in reuseport net selftest 2018-02-09 14:46:37 -05:00
reuseport_dualstack.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rtnetlink.sh selftests: rtnetlink: add erspan and ip6erspan 2018-01-02 13:37:42 -05:00
run_afpackettests selftests/net: ignore background traffic in psock_fanout 2018-02-23 12:47:05 -05:00
run_netsocktests License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
socket.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
test_bpf.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00