]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1543e7b9f8834c6bf3b959f89ca87b84a68b45bf
tree31a9600568d8796918259b89638850b5f28404b3
parent7e140a5af4275fdeb8f08fd770b0433d19c22bb5
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