kselftests/net: list all available tests in usage()
authorLi Zhijian <lizhijian@fujitsu.com>
Fri, 14 Jan 2022 03:02:46 +0000 (11:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jan 2022 11:21:55 +0000 (11:21 +0000)
commit2255634100bffe0abc1a300f20aee26980891ba4
tree5c4135efc2065c9d85634d42d5605c70a455e977
parent0bf3885324a8599e3af4c7379b8d4f621c9bbffa
kselftests/net: list all available tests in usage()

So that users can run/query them easily.

$ ./fcnal-test.sh -h
usage: fcnal-test.sh OPTS

-4          IPv4 tests only
-6          IPv6 tests only
-t <test>   Test name/set to run
-p          Pause on fail
-P          Pause after each test
-v          Be verbose

Tests:
ipv4_ping ipv4_tcp ipv4_udp ipv4_bind ipv4_runtime ipv4_netfilter ipv6_ping ipv6_tcp ipv6_udp ipv6_bind ipv6_runtime ipv6_netfilter use_cases

Suggested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fcnal-test.sh