Skip to content

Commit

Permalink
selftests: fib_nexthops: List each test case in a different line
Browse files Browse the repository at this point in the history
The lines with the IPv4 and IPv6 test cases are already very long and
more test cases will be added in subsequent patches.

List each test case in a different line to make it easier to extend the
test with more test cases.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ido Schimmel authored and David S. Miller committed Mar 13, 2021
1 parent 8e81528 commit a8f9952
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions tools/testing/selftests/net/fib_nexthops.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,32 @@ ret=0
ksft_skip=4

# all tests in this script. Can be overridden with -t option
IPV4_TESTS="ipv4_fcnal ipv4_grp_fcnal ipv4_withv6_fcnal ipv4_fcnal_runtime ipv4_large_grp ipv4_compat_mode ipv4_fdb_grp_fcnal ipv4_torture"
IPV6_TESTS="ipv6_fcnal ipv6_grp_fcnal ipv6_fcnal_runtime ipv6_large_grp ipv6_compat_mode ipv6_fdb_grp_fcnal ipv6_torture"

ALL_TESTS="basic ${IPV4_TESTS} ${IPV6_TESTS}"
IPV4_TESTS="
ipv4_fcnal
ipv4_grp_fcnal
ipv4_withv6_fcnal
ipv4_fcnal_runtime
ipv4_large_grp
ipv4_compat_mode
ipv4_fdb_grp_fcnal
ipv4_torture
"

IPV6_TESTS="
ipv6_fcnal
ipv6_grp_fcnal
ipv6_fcnal_runtime
ipv6_large_grp
ipv6_compat_mode
ipv6_fdb_grp_fcnal
ipv6_torture
"

ALL_TESTS="
basic
${IPV4_TESTS}
${IPV6_TESTS}
"
TESTS="${ALL_TESTS}"
VERBOSE=0
PAUSE_ON_FAIL=no
Expand Down

0 comments on commit a8f9952

Please sign in to comment.