]> git.ipfire.org Git - thirdparty/nftables.git/commit
test: shell: Don't use system nft binary
authorYi Chen <yiche@redhat.com>
Sun, 22 Jun 2025 12:55:51 +0000 (20:55 +0800)
committerFlorian Westphal <fw@strlen.de>
Sun, 22 Jun 2025 13:18:51 +0000 (15:18 +0200)
commitc73eadca05c781ebad631331a6864fa8c54a5024
tree9ac9a619458b84d709d568613c47513ec64c28c1
parent845b8d7208077310e77560a64b698973fb047ef2
test: shell: Don't use system nft binary

Use the defined $NFT variable instead of calling the system nft binary directly.
Add a nat_ftp.nodump file to avoid the following check-tree.sh error:
ERR: "tests/shell/testcases/packetpath/nat_ftp" has no "tests/shell/testcases/packetpath/dumps/nat_ftp.{nft,nodump}" file.

Signed-off-by: Yi Chen <yiche@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/packetpath/dumps/nat_ftp.nodump [new file with mode: 0644]
tests/shell/testcases/packetpath/flowtables
tests/shell/testcases/packetpath/nat_ftp