test updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | utils: nfulnl_test: print NFULA_HWTYPE/HWLEN/HWHEADERutils/ utils/ | +28 | 0 replies | |
| 2/2 | tests: add shell test framework covering nfulnl hook/family hwheader logictests/ tests/ tests/ +5 more | +545 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH libnetfilter_log 0/2] test updates
1) Extend nfulnl_test's print_pkt() to also output NFULA_HWTYPE, NFULA_HWLEN, NFULA_HWHEADER, and the bridge port. Update the existing test case to expect the new output.
2) Add an nftables-style shell test framework for nfulnl hook/family/hwheader logic, with per-test network-namespace isolation. Add six testcases asserting hwheader presence/absence and indev correctness across prerouting, output, forward, netdev-ingress, ARP, and bridge-forward hooks. Keep tests out of make check since they require root.
Passes with both nf:main and the nf ulog / syslog patches on the ML.
Florian Westphal (2):
utils: nfulnl_test: print NFULA_HWTYPE/HWLEN/HWHEADER
tests: add shell test framework covering nfulnl hook/family hwheader logic
tests/shell/lib.sh | 140 ++++++++++++++++++ tests/shell/run-tests.sh | 66 +++++++++ .../testcases/nfulnl/0001-prerouting-loopback | 36 +++++ .../testcases/nfulnl/0002-output-no-hwheader | 43 ++++++ .../testcases/nfulnl/0003-forward-hwheader | 74 +++++++++ .../nfulnl/0004-netdev-ingress-hwheader | 29 ++++ .../shell/testcases/nfulnl/0005-arp-hwheader | 69 +++++++++ .../nfulnl/0006-bridge-forward-indev | 88 +++++++++++ utils/nfulnl_test.c | 26 ++++ utils/nfulnl_test.sh | 4 +- 10 files changed, 573 insertions(+), 2 deletions(-) create mode 100644 tests/shell/lib.sh create mode 100755 tests/shell/run-tests.sh create mode 100755 tests/shell/testcases/nfulnl/0001-prerouting-loopback create mode 100755 tests/shell/testcases/nfulnl/0002-output-no-hwheader create mode 100755 tests/shell/testcases/nfulnl/0003-forward-hwheader create mode 100755 tests/shell/testcases/nfulnl/0004-netdev-ingress-hwheader create mode 100755 tests/shell/testcases/nfulnl/0005-arp-hwheader create mode 100755 tests/shell/testcases/nfulnl/0006-bridge-forward-indev
Signature · 1 line
2.56.1