selftests: net: Add bridge backup port and backup nexthop ID test
authorIdo Schimmel <idosch@nvidia.com>
Mon, 17 Jul 2023 08:12:29 +0000 (11:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jul 2023 09:53:49 +0000 (10:53 +0100)
commitb408453053fbd1409cc98ce420d64448f58cfd09
tree95f2ac79f39242c269141274367bb3443c45c00a
parent29cfb2aaa4425a608651a05b9b875bc445394443
selftests: net: Add bridge backup port and backup nexthop ID test

Add test cases for bridge backup port and backup nexthop ID, testing
both good and bad flows.

Example truncated output:

 # ./test_bridge_backup_port.sh
 [...]
 Tests passed:  83
 Tests failed:   0

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/test_bridge_backup_port.sh [new file with mode: 0755]