]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: Add meta time tests without 'meta' keyword
authorMartin Gignac <martin.gignac@gmail.com>
Sat, 9 Apr 2022 12:57:02 +0000 (08:57 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 10 Apr 2022 15:19:34 +0000 (17:19 +0200)
commitc36ecfc21ba87b11bdf714250e86afcc075280cd
tree1c65ace0e2051df4207859ee7df1a1ef03f61a7a
parent6fa4ff56385831f01bd9d993178969a4eddbcdbf
tests: py: Add meta time tests without 'meta' keyword

v1.0.2 of 'nft' fails on 'time < "2022-07-01 11:00:00"' but succeeds
when 'meta' is specified ('meta time < "2022-07-01 11:00:00"'). This
extends coverage by testing 'time' without 'meta'.

Signed-off-by: Martin Gignac <martin.gignac@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/any/meta.t
tests/py/any/meta.t.json
tests/py/any/meta.t.payload