selftests: rtnetlink: use setup_ns in bonding test
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Mon, 15 Jan 2024 13:59:22 +0000 (14:59 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Jan 2024 01:49:54 +0000 (17:49 -0800)
commite9ce7ededf14af3396312f02d1622f4889d676ca
treefa2448e2b9c5b24f6477ed841de26167dbbd61ea
parent97eb5d51b4a584a60e5d096bdb6b33edc9f50d8d
selftests: rtnetlink: use setup_ns in bonding test

This is a follow-up of commit a159cbe81d3b ("selftests: rtnetlink: check
enslaving iface in a bond") after the merge of net-next into net.

The goal is to follow the new convention,
see commit d3b6b1116127 ("selftests/net: convert rtnetlink.sh to run it in
unique namespace") for more details.

Let's use also the generic dummy name instead of defining a new one.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://lore.kernel.org/r/20240115135922.3662648-1-nicolas.dichtel@6wind.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/rtnetlink.sh