selftests: devlink: add a warning for interfaces coming up
authorJakub Kicinski <kuba@kernel.org>
Thu, 15 Dec 2022 02:01:02 +0000 (18:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Dec 2022 10:21:37 +0000 (10:21 +0000)
commitd1c4a3469e73730f7cbbcec661c2a9081af1aa45
tree3987b96d23f5c8009a365b12b6b81dfc0be20f23
parent2fc60e2ff972d3dca836bff0b08cbe503c4ca1ce
selftests: devlink: add a warning for interfaces coming up

NetworkManager (and other daemons) may bring the interface up
and cause failures in quiescence checks. Print a helpful warning,
and take the interface down again.

I seem to forget about this every time I run these tests on a new VM.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh