]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: Add a basic test for src/xt.c master
authorPhil Sutter <phil@nwl.cc>
Fri, 23 Jan 2026 17:29:02 +0000 (18:29 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 5 Feb 2026 15:15:17 +0000 (16:15 +0100)
commit056d6a6bd7d0e6d8f92427a821ad5ab3b5276030
treef331bd1f6ef6251efe24d70901f0d73a675ec0bf
parentece10aa3f8cc4da0ab105a3b4b2a3f62ce9ec992
tests: shell: Add a basic test for src/xt.c

The feature test introduced in this patch checks iptables-nft presence
and usability as well as translation support presence in nft (as it may
not be compiled in).

The actual test case will optionally call ip6tables-nft and ebtables-nft
as well.

Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/shell/features/xtables_xlate.sh [new file with mode: 0755]
tests/shell/testcases/parsing/compat_xlate [new file with mode: 0755]