Browse Source

tests: fix gnrc_sixlowpan for 2db9ed1 and b272e90

2db9ed1 and b272e90 changed the output of `gnrc_pktdump`, but the
`gnrc_sixlowpan` tested fix was never adapted for that and was failing
because of that.
master
Martine Lenders 5 years ago
parent
commit
d0967206ac
No known key found for this signature in database
GPG Key ID: 8E97A9FE55F25D62
  1. 18
      tests/gnrc_sixlowpan/tests/01-run.py

18
tests/gnrc_sixlowpan/tests/01-run.py

@ -48,7 +48,7 @@ def testfunc(child):
child.expect_exact("PKTDUMP: data received:")
child.expect_exact("~~ SNIP 0 - size: 108 byte, type: NETTYPE_UDP (4)")
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("traffic class: 0x00 (ECN: 0x0, DSCP: 0x00)")
child.expect_exact("flow label: 0x00000")
@ -59,16 +59,16 @@ def testfunc(child):
# UDP (port 61616)
child.expect_exact("PKTDUMP: data received:")
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("000010 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("000030 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("000050 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("00000000 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("00000020 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("00000040 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("00000060 00 00 00 00")
child.expect_exact("~~ SNIP 1 - size: 8 byte, type: NETTYPE_UDP (4)")
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("traffic class: 0x00 (ECN: 0x0, DSCP: 0x00)")
child.expect_exact("flow label: 0x00000")

Loading…
Cancel
Save