]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: Extend fib tests to run with and without flags notifications
authorAmit Cohen <amcohen@nvidia.com>
Mon, 1 Feb 2021 19:47:56 +0000 (21:47 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Feb 2021 01:45:59 +0000 (17:45 -0800)
commit4063a650a58a00dfb2fb9efd2ff164335fb8fd75
tree201eb32d90eeb12ce0a5ad217ff3ec96046b4dbd
parent5b506caba5d65f1916d42bd9043b13c0997b0464
selftests: Extend fib tests to run with and without flags notifications

Run the test cases with both `fib_notify_on_flag_change` sysctls set to
'1', and then with both sysctls set to '0' to verify there are no
regressions in the test when notifications are added.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/mlxsw/fib.sh
tools/testing/selftests/drivers/net/netdevsim/fib.sh