Re: [PATCH net-next 1/9] selftests/net: convert test_bridge_backup_port.sh to run it in unique namespace

Ido Schimmel
2023-12-06T12:32:55Z

On Wed, Dec 06, 2023 at 03:07:53PM +0800, Hangbin Liu wrote:
> There is no h1 h2 actually. Remove it. Here is the test result after
> conversion.
>
> ]# ./test_bridge_backup_port.sh
>
> Backup port
> -----------
> TEST: Forwarding out of swp1 [ OK ]
> TEST: No forwarding out of vx0 [ OK ]
> TEST: swp1 carrier off [ OK ]
> TEST: No forwarding out of swp1 [ OK ]
> ...
> Backup nexthop ID - ping
> ------------------------
> TEST: Ping with backup nexthop ID [ OK ]
> TEST: Ping after disabling backup nexthop ID [ OK ]
>
> Backup nexthop ID - torture test
> --------------------------------
> TEST: Torture test [ OK ]
>
> Tests passed: 83
> Tests failed: 0
>
> Acked-by: David Ahern <dsahern@kernel.org>
> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>

Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>