tests: dump generated use new nft tool
PATCH 1/1 tests: dump generated use new nft tool
Instead of using an (possibly outdated) system nft to generate dumps, use the newly build tool.
This fixes the dump output being corrupted if the system tool does not support parsing new features.
Signed-off-by Michael Braun <[email protected]>
--- tests/shell/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/shell/run-tests.sh +1 -1
@@ -122,7 +122,7 @@ do if [ "$DUMPGEN" == "y" ] && [ "$rc_got" == 0 ] && [ ! -f "${dumpfile}" ]; then mkdir -p "${dumppath}" - nft list ruleset > "${dumpfile}" + $NFT list ruleset > "${dumpfile}" fi else ((failed++))
Signature · 1 line
2.20.1
Quoted 5 lines · Michael Braun
Instead of using an (possibly outdated) system nft to generate dumps, use the newly build tool.
This fixes the dump output being corrupted if the system tool does not support parsing new features.
Applied, thanks.