summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/comp.t.payload.ip
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/comp.t.payload.ip')
-rw-r--r--tests/py/inet/comp.t.payload.ip6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/py/inet/comp.t.payload.ip b/tests/py/inet/comp.t.payload.ip
index b2a8ab40..9da8f94d 100644
--- a/tests/py/inet/comp.t.payload.ip
+++ b/tests/py/inet/comp.t.payload.ip
@@ -32,8 +32,7 @@ ip test-ip4 input
[ payload load 1b @ network header + 9 => reg 1 ]
[ cmp eq reg 1 0x0000006c ]
[ payload load 1b @ transport header + 1 => reg 1 ]
- [ cmp lt reg 1 0x00000033 ]
- [ cmp gt reg 1 0x00000045 ]
+ [ range neq reg 1 0x00000033 0x00000045 ]
# comp flags {0x33, 0x55, 0x67, 0x88}
__set%d test-ip4 3
@@ -82,8 +81,7 @@ ip test-ip4 input
[ payload load 1b @ network header + 9 => reg 1 ]
[ cmp eq reg 1 0x0000006c ]
[ payload load 2b @ transport header + 2 => reg 1 ]
- [ cmp lt reg 1 0x00002100 ]
- [ cmp gt reg 1 0x00002d00 ]
+ [ range neq reg 1 0x00002100 0x00002d00 ]
# comp cpi {33, 55, 67, 88}
__set%d test-ip4 3