selftests: netfilter: nft_zones_many.sh: move to lib.sh infra
authorFlorian Westphal <fw@strlen.de>
Thu, 18 Apr 2024 15:27:32 +0000 (17:27 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 20 Apr 2024 03:10:50 +0000 (20:10 -0700)
commitc1a9d47b59d02f466ead8c023f6822f68285edbe
tree875943524840baa0ae0a5b528291584818ca0675
parenta849e06c8025ed79d579c789cfbc08e2374883a4
selftests: netfilter: nft_zones_many.sh: move to lib.sh infra

Also do shellcheck cleanups here, no functional changes intended.
When running tests via vng tool, the packetpath insertion test fails:
dd: failed to open '/dev/stdout': Device or resource busy

Just omit 'of=' and this will work as intended.

Signed-off-by: Florian Westphal <fw@strlen.de>
Link: https://lore.kernel.org/r/20240418152744.15105-5-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/netfilter/nft_zones_many.sh