From d0967206acd319a9244bdd1e4a8eaade0ab19682 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Thu, 4 May 2017 14:52:39 +0200 Subject: [PATCH] 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. --- tests/gnrc_sixlowpan/tests/01-run.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/gnrc_sixlowpan/tests/01-run.py b/tests/gnrc_sixlowpan/tests/01-run.py index ee9acabed..832ad5e29 100755 --- a/tests/gnrc_sixlowpan/tests/01-run.py +++ b/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")