]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: add netdev folder and reject.t icmp cases
authorJose M. Guisado Gomez <guigom@riseup.net>
Thu, 22 Oct 2020 19:43:55 +0000 (21:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 2 Nov 2020 10:49:52 +0000 (11:49 +0100)
commita51a0bec1f698b9980a266e2393d3f80596bbae0
treea48de9c9cc160893713c1231434be06309c7a83e
parent0c42a1f2a0cc579181f9bd1adc885c10d0af5808
tests: py: add netdev folder and reject.t icmp cases

Add unit tests for the use of reject with icmp inside netdev family.

reject.t from inet family couldn't be reused because it was using
meta nfproto which is not supported inside netdev.

Signed-off-by: Jose M. Guisado Gomez <guigom@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/netdev/reject.t [new file with mode: 0644]
tests/py/netdev/reject.t.payload [new file with mode: 0644]
tests/py/nft-test.py