Skip to content
Snippets Groups Projects
Unverified Commit d0967206 authored by Martine Lenders's avatar Martine Lenders
Browse files

tests: fix gnrc_sixlowpan for 2db9ed11 and b272e904

2db9ed11 and b272e904 changed the output of `gnrc_pktdump`, but the
`gnrc_sixlowpan` tested fix was never adapted for that and was failing
because of that.
parent 73641922
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ def testfunc(child): ...@@ -48,7 +48,7 @@ def testfunc(child):
child.expect_exact("PKTDUMP: data received:") child.expect_exact("PKTDUMP: data received:")
child.expect_exact("~~ SNIP 0 - size: 108 byte, type: NETTYPE_UDP (4)") child.expect_exact("~~ SNIP 0 - size: 108 byte, type: NETTYPE_UDP (4)")
child.expect_exact(" src-port: 61616 dst-port: 61616") child.expect_exact(" src-port: 61616 dst-port: 61616")
child.expect_exact(" length: 108 cksum: 0x4232f") child.expect_exact(" length: 108 cksum: 0x232f")
child.expect_exact("~~ SNIP 1 - size: 40 byte, type: NETTYPE_IPV6 (2)") child.expect_exact("~~ SNIP 1 - size: 40 byte, type: NETTYPE_IPV6 (2)")
child.expect_exact("traffic class: 0x00 (ECN: 0x0, DSCP: 0x00)") child.expect_exact("traffic class: 0x00 (ECN: 0x0, DSCP: 0x00)")
child.expect_exact("flow label: 0x00000") child.expect_exact("flow label: 0x00000")
...@@ -59,16 +59,16 @@ def testfunc(child): ...@@ -59,16 +59,16 @@ def testfunc(child):
# UDP (port 61616) # UDP (port 61616)
child.expect_exact("PKTDUMP: data received:") child.expect_exact("PKTDUMP: data received:")
child.expect_exact("~~ SNIP 0 - size: 100 byte, type: NETTYPE_UNDEF (0)") child.expect_exact("~~ SNIP 0 - size: 100 byte, type: NETTYPE_UNDEF (0)")
child.expect_exact("000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") child.expect_exact("00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00")
child.expect_exact("000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") child.expect_exact("00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00")
child.expect_exact("000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") child.expect_exact("00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00")
child.expect_exact("000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") child.expect_exact("00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00")
child.expect_exact("000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") child.expect_exact("00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00")
child.expect_exact("000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") child.expect_exact("00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00")
child.expect_exact("000060 00 00 00 00") child.expect_exact("00000060 00 00 00 00")
child.expect_exact("~~ SNIP 1 - size: 8 byte, type: NETTYPE_UDP (4)") child.expect_exact("~~ SNIP 1 - size: 8 byte, type: NETTYPE_UDP (4)")
child.expect_exact(" src-port: 61616 dst-port: 61616") child.expect_exact(" src-port: 61616 dst-port: 61616")
child.expect_exact(" length: 108 cksum: 0x4232f") child.expect_exact(" length: 108 cksum: 0x232f")
child.expect_exact("~~ SNIP 2 - size: 40 byte, type: NETTYPE_IPV6 (2)") child.expect_exact("~~ SNIP 2 - size: 40 byte, type: NETTYPE_IPV6 (2)")
child.expect_exact("traffic class: 0x00 (ECN: 0x0, DSCP: 0x00)") child.expect_exact("traffic class: 0x00 (ECN: 0x0, DSCP: 0x00)")
child.expect_exact("flow label: 0x00000") child.expect_exact("flow label: 0x00000")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment