selftests: net: vrf_strict_mode_test: add support to select a test to run
authorJaehee Park <jhpark1013@gmail.com>
Fri, 29 Apr 2022 16:46:58 +0000 (12:46 -0400)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 08:48:29 +0000 (10:48 +0200)
commita313f858ed368d11579df62e8f7d0ac65f853bc9
tree31a9600568d8796918259b89638850b5f28404b3
parent0f0c0452bbd46d713eeb8968f5f40ccc257f85eb
selftests: net: vrf_strict_mode_test: add support to select a test to run

Add a boilerplate test loop to run all tests in
vrf_strict_mode_test.sh. Add a -t flag that allows a selected test to
run. Remove the vrf_strict_mode_tests function which is now unused.

Signed-off-by: Jaehee Park <jhpark1013@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20220429164658.GA656707@jaehee-ThinkPad-X1-Extreme
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/net/vrf_strict_mode_test.sh