diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-04-20 06:10:52 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-20 06:10:53 +0300 |
commit | 8442f8ba269f8f7321fba47c4fd1dc22402d8975 (patch) | |
tree | f634d585853dafab071ad2906ae09028072a3d30 /net/xfrm | |
parent | 4cad4efa6eb209cea88175e545020de55fe3c737 (diff) | |
parent | 0b2e1db97b4210f8951ca05dedabc46d60458293 (diff) | |
download | linux-8442f8ba269f8f7321fba47c4fd1dc22402d8975.tar.xz |
Merge branch 'testing-make-netfilter-selftests-functional-in-vng-environment'
Florian Westphal says:
====================
testing: make netfilter selftests functional in vng environment
This is the second batch of the netfilter selftest move.
Changes since v1:
- makefile and kernel config are updated to have all required features
- fix makefile with missing bits to make kselftest-install work
- test it via vng as per
https://github.com/linux-netdev/nipa/wiki/How-to-run-netdev-selftests-CI-style
(Thanks Jakub!)
- squash a few fixes, e.g. nft_queue.sh v1 had a race w. NFNETLINK_QUEUE=m
- add a settings file with 8m timeout, for nft_concat_range.sh sake.
That script can be sped up a bit, I think, but its not contained in
this batch yet.
- toss the first two bogus rebase artifacts (Matthieu Baerts)
scripts are moved to lib.sh infra. This allows to use busywait helper
and ditch various 'sleep 2' all over the place.
Tested on Fedora 39:
vng --build --config tools/testing/selftests/net/netfilter/config
make -C tools/testing/selftests/ TARGETS=net/netfilter
vng -v --run . --user root --cpus 2 -- \
make -C tools/testing/selftests TARGETS=net/netfilter run_tests
... all tests pass except nft_audit.sh which SKIPs due to nft version mismatch
(Fedora is on nft 1.0.7 which lacks reset keyword support).
Missing/WIP bits:
- speed up nf_concat_range.sh test
- extend flowtable selftest
- shellcheck fixups for remaining scripts
====================
Link: https://lore.kernel.org/r/20240418152744.15105-1-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions