summaryrefslogtreecommitdiffstats
path: root/tests/py/any/meta.t.payload
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2020-11-15 15:11:47 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2020-11-16 10:28:10 +0100
commit31f73c4c2323d2ba8634d67f37033342bc5784ed (patch)
tree5dc777df365e15245e911a2aaca3265fbe9ccac9 /tests/py/any/meta.t.payload
parentf751753f92ea76f582f7d5d1fef8b4d5677ba589 (diff)
tests: py: update format of registers in bitwise payloads.
libnftnl has been changed to bring the format of registers in bitwise dumps in line with those in other types of expression. Update the expected output of Python test-cases. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/any/meta.t.payload')
-rw-r--r--tests/py/any/meta.t.payload8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/py/any/meta.t.payload b/tests/py/any/meta.t.payload
index 2af244a9..463365e2 100644
--- a/tests/py/any/meta.t.payload
+++ b/tests/py/any/meta.t.payload
@@ -136,13 +136,13 @@ ip test-ip4 input
# meta mark and 0x03 == 0x01
ip test-ip4 input
[ meta load mark => reg 1 ]
- [ bitwise reg 1 = (reg=1 & 0x00000003 ) ^ 0x00000000 ]
+ [ bitwise reg 1 = ( reg 1 & 0x00000003 ) ^ 0x00000000 ]
[ cmp eq reg 1 0x00000001 ]
# meta mark and 0x03 != 0x01
ip test-ip4 input
[ meta load mark => reg 1 ]
- [ bitwise reg 1 = (reg=1 & 0x00000003 ) ^ 0x00000000 ]
+ [ bitwise reg 1 = ( reg 1 & 0x00000003 ) ^ 0x00000000 ]
[ cmp neq reg 1 0x00000001 ]
# meta mark 0x10
@@ -158,13 +158,13 @@ ip test-ip4 input
# meta mark or 0x03 == 0x01
ip test-ip4 input
[ meta load mark => reg 1 ]
- [ bitwise reg 1 = (reg=1 & 0xfffffffc ) ^ 0x00000003 ]
+ [ bitwise reg 1 = ( reg 1 & 0xfffffffc ) ^ 0x00000003 ]
[ cmp eq reg 1 0x00000001 ]
# meta mark or 0x03 != 0x01
ip test-ip4 input
[ meta load mark => reg 1 ]
- [ bitwise reg 1 = (reg=1 & 0xfffffffc ) ^ 0x00000003 ]
+ [ bitwise reg 1 = ( reg 1 & 0xfffffffc ) ^ 0x00000003 ]
[ cmp neq reg 1 0x00000001 ]
# meta mark xor 0x03 == 0x01