From 14b68bb14eb7360219e65120e41b0ee496b6b3da Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 13 May 2016 19:13:12 +0200 Subject: tests/py: update for changed set name in payload Original patch posted in the mailing list from Patrick, I have refreshed this so it applies on top of current HEAD. Signed-off-by: Pablo Neira Ayuso --- tests/py/ip6/mh.t.payload.ip6 | 60 +++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'tests/py/ip6/mh.t.payload.ip6') diff --git a/tests/py/ip6/mh.t.payload.ip6 b/tests/py/ip6/mh.t.payload.ip6 index e903b74f..d5366a54 100644 --- a/tests/py/ip6/mh.t.payload.ip6 +++ b/tests/py/ip6/mh.t.payload.ip6 @@ -9,12 +9,12 @@ ip6 test-ip6 input [ cmp neq reg 1 0x00000001 ] # mh nexthdr { udplite, ipcomp, udp, ah, sctp, esp, dccp, tcp, ipv6-icmp } -set%d test-ip6 3 -set%d test-ip6 0 +__set%d test-ip6 3 +__set%d test-ip6 0 element 00000088 : 0 [end] element 0000006c : 0 [end] element 00000011 : 0 [end] element 00000033 : 0 [end] element 00000084 : 0 [end] element 00000032 : 0 [end] element 00000021 : 0 [end] element 00000006 : 0 [end] element 0000003a : 0 [end] ip6 test-ip6 input [ exthdr load 1b @ 135 + 0 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] # mh nexthdr icmp ip6 test-ip6 input @@ -49,20 +49,20 @@ ip6 test-ip6 input [ cmp gt reg 1 0x0000002d ] # mh nexthdr { 33, 55, 67, 88 } -set%d test-ip6 3 -set%d test-ip6 0 +__set%d test-ip6 3 +__set%d test-ip6 0 element 00000021 : 0 [end] element 00000037 : 0 [end] element 00000043 : 0 [end] element 00000058 : 0 [end] ip6 test-ip6 input [ exthdr load 1b @ 135 + 0 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] # mh nexthdr { 33-55 } -set%d test-ip6 7 -set%d test-ip6 0 +__set%d test-ip6 7 +__set%d test-ip6 0 element 00000000 : 1 [end] element 00000021 : 0 [end] element 00000038 : 1 [end] ip6 test-ip6 input [ exthdr load 1b @ 135 + 0 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] # mh hdrlength 22 ip6 test-ip6 input @@ -87,28 +87,28 @@ ip6 test-ip6 input [ cmp gt reg 1 0x0000002d ] # mh hdrlength { 33, 55, 67, 88 } -set%d test-ip6 3 -set%d test-ip6 0 +__set%d test-ip6 3 +__set%d test-ip6 0 element 00000021 : 0 [end] element 00000037 : 0 [end] element 00000043 : 0 [end] element 00000058 : 0 [end] ip6 test-ip6 input [ exthdr load 1b @ 135 + 1 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] # mh hdrlength { 33-55 } -set%d test-ip6 7 -set%d test-ip6 0 +__set%d test-ip6 7 +__set%d test-ip6 0 element 00000000 : 1 [end] element 00000021 : 0 [end] element 00000038 : 1 [end] ip6 test-ip6 input [ exthdr load 1b @ 135 + 1 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] # mh type {binding-refresh-request, home-test-init, careof-test-init, home-test, careof-test, binding-update, binding-acknowledgement, binding-error, fast-binding-update, fast-binding-acknowledgement, fast-binding-advertisement, experimental-mobility-header, home-agent-switch-message} -set%d test-ip6 3 -set%d test-ip6 0 +__set%d test-ip6 3 +__set%d test-ip6 0 element 00000000 : 0 [end] element 00000001 : 0 [end] element 00000002 : 0 [end] element 00000003 : 0 [end] element 00000004 : 0 [end] element 00000005 : 0 [end] element 00000006 : 0 [end] element 00000007 : 0 [end] element 00000008 : 0 [end] element 00000009 : 0 [end] element 0000000a : 0 [end] element 0000000b : 0 [end] element 0000000c : 0 [end] ip6 test-ip6 input [ exthdr load 1b @ 135 + 2 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] # mh type home-agent-switch-message ip6 test-ip6 input @@ -143,20 +143,20 @@ ip6 test-ip6 input [ cmp gt reg 1 0x0000002d ] # mh reserved { 33, 55, 67, 88} -set%d test-ip6 3 -set%d test-ip6 0 +__set%d test-ip6 3 +__set%d test-ip6 0 element 00000021 : 0 [end] element 00000037 : 0 [end] element 00000043 : 0 [end] element 00000058 : 0 [end] ip6 test-ip6 input [ exthdr load 1b @ 135 + 3 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] # mh reserved { 33-55} -set%d test-ip6 7 -set%d test-ip6 0 +__set%d test-ip6 7 +__set%d test-ip6 0 element 00000000 : 1 [end] element 00000021 : 0 [end] element 00000038 : 1 [end] ip6 test-ip6 input [ exthdr load 1b @ 135 + 3 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] # mh checksum 22 ip6 test-ip6 input @@ -181,18 +181,18 @@ ip6 test-ip6 input [ cmp gt reg 1 0x00002d00 ] # mh checksum { 33, 55, 67, 88} -set%d test-ip6 3 -set%d test-ip6 0 +__set%d test-ip6 3 +__set%d test-ip6 0 element 00002100 : 0 [end] element 00003700 : 0 [end] element 00004300 : 0 [end] element 00005800 : 0 [end] ip6 test-ip6 input [ exthdr load 2b @ 135 + 4 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] # mh checksum { 33-55} -set%d test-ip6 7 -set%d test-ip6 0 +__set%d test-ip6 7 +__set%d test-ip6 0 element 00000000 : 1 [end] element 00002100 : 0 [end] element 00003800 : 1 [end] ip6 test-ip6 input [ exthdr load 2b @ 135 + 4 => reg 1 ] - [ lookup reg 1 set set%d ] + [ lookup reg 1 set __set%d ] -- cgit v1.2.3