]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: netfilter: move fib vrf test to nft_fib.sh
authorFlorian Westphal <fw@strlen.de>
Wed, 21 May 2025 09:38:46 +0000 (11:38 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 22 May 2025 15:16:02 +0000 (17:16 +0200)
commit98287045c9797fd3dd30422d92077e511809b4b9
treea5442362569b0d1f4c7fb989e621fe64c5e471e3
parent839340f7c7bb9a83b95bdf1abbef6dff990e35f5
selftests: netfilter: move fib vrf test to nft_fib.sh

It was located in conntrack_vrf.sh because that already had the VRF bits.
Lets not add to this and move it to nft_fib.sh where this belongs.

No functional changes for the subtest intended.
The subtest is limited, it only covered 'fib oif'
(route output interface query) when the incoming interface is part
of a VRF.

Next we can extend it to cover 'fib type' for VRFs and also check fib
results when there is an unrelated VRF in same netns.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/net/netfilter/conntrack_vrf.sh
tools/testing/selftests/net/netfilter/nft_fib.sh