Re: [PATCH net-next v6 0/4] selftests: net: fix false failures due to missing features and host interference

From: Stefano Brivio

Date: Mon Mar 23 2026 - 23:36:00 EST


On Mon, 23 Mar 2026 19:58:13 -0700
Jakub Kicinski <kuba@xxxxxxxxxx> wrote:

> On Sat, 21 Mar 2026 21:59:04 +0000 Aleksei Oladko wrote:
> > tools/testing/selftests/net/pmtu-test.sh | 2492 +++++++++++++++++
> > tools/testing/selftests/net/pmtu.sh | 2492 +----------------
>
> I think I asked twice already to fix the test instead of wrapping it in
> another helper.

Oops, I guess both me and Aleksei understood it as "fix the test _by_
wrapping it in another helper":

https://lore.kernel.org/all/dd1f8981-b8ad-4a4d-b6c8-3333fb05c93b@xxxxxxxxxxxxx/

hence the current version.

Aleksei, if you need further tips other than what I was suggesting
(assuming the only way is to run everything in a namespace), this could
be another idea:

https://git.netfilter.org/nftables/commit/?id=a9cadde4add1

--
Stefano