]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: regression: any/ct: remove wrong output
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 30 Nov 2014 20:56:46 +0000 (21:56 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Dec 2014 16:28:25 +0000 (17:28 +0100)
ct mark 0x32-0x45

displays:

ct mark >= 0x00000032 ct mark <= 0x00000045
                                 ^^^^^^^^^^
instead of ct mark <= 0x45000000
                      ^^^^^^^^^^

Remove the custom output so this displays a warning. nft should
(at some point) merge the two statements into one single to express
the range from the netlink_delinearize step.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/regression/any/ct.t

index 09f72ed090b411bf6b1e0c3b19f422f6a72d3e60..bb26cb854bab016fd50feba75182722c6527c681 100644 (file)
@@ -46,8 +46,8 @@ ct mark xor 0x3 != 0x1;ok;ct mark != 0x00000002
 
 ct mark 0x32;ok;ct mark 0x00000032
 ct mark != 0x32;ok;ct mark != 0x00000032
-ct mark 0x32-0x45;ok;ct mark >= 0x00000032 ct mark <= 0x45000000
-ct mark != 0x32-0x43;ok;ct mark < 0x00000032 ct mark > 0x43000000
+ct mark 0x32-0x45;ok
+ct mark != 0x32-0x43;ok
 ct mark {0x32, 0x2222, 0x42de3};ok;ct mark { 0x00042de3, 0x00002222, 0x00000032}
 - ct mark != {0x32, 0x2222, 0x42de3};ok