]> git.ipfire.org Git - thirdparty/ipset.git/commit
tests: add tests ipset to nftables
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 25 Jun 2021 20:30:43 +0000 (22:30 +0200)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Sat, 26 Jun 2021 21:07:41 +0000 (23:07 +0200)
commit7587d1c4b5465f3b5315536b439b63a5ffe0311d
treebd804ddc0b5aa02d48ceccebea8ed4a1ad47e08c
parent325af556cd3a6d1636c0cd355b494c87f58397e0
tests: add tests ipset to nftables

This test checks that the translation from ipset to nftables is correct.

term$ cd tests/xlate
term$ ./runtest.sh

in case that the translation is not correct, it shows the diff with expected
translation output.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
tests/xlate/runtest.sh [new file with mode: 0755]
tests/xlate/xlate.t [new file with mode: 0644]
tests/xlate/xlate.t.nft [new file with mode: 0644]