From c289cccb42bdd9eb0662042f94c2fdf554a16d24 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Mon, 30 Jul 2018 18:03:11 +0200 Subject: [PATCH] tests: gnrc_sixlowpan: fix expect for #9585 PR #9585 changed the output for the dump slightly, so now this test is failing. This fixes that and should also fix some issues from the 2017.07 release tests. --- tests/gnrc_sixlowpan/tests/01-run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gnrc_sixlowpan/tests/01-run.py b/tests/gnrc_sixlowpan/tests/01-run.py index 9054e2f2ea..3ffe189ca0 100755 --- a/tests/gnrc_sixlowpan/tests/01-run.py +++ b/tests/gnrc_sixlowpan/tests/01-run.py @@ -17,7 +17,7 @@ def testfunc(child): child.expect_exact("~~ SNIP 0 - size: 74 byte, type: NETTYPE_SIXLOWPAN (1)") child.expect_exact("Fragmentation Header (first)") child.expect_exact("datagram size: 148") - child.expect_exact("tag: 0x1") + child.expect_exact("tag: 0x0001") child.expect_exact("IPHC dispatch") child.expect_exact("TF: traffic class and flow label elided") child.expect_exact("NH: LOWPAN_NHC") @@ -30,8 +30,8 @@ def testfunc(child): child.expect_exact("~~ SNIP 0 - size: 57 byte, type: NETTYPE_SIXLOWPAN (1)") child.expect_exact("Fragmentation Header (subsequent)") child.expect_exact("datagram size: 148") - child.expect_exact("tag: 0x1") - child.expect_exact("offset: 0x12") + child.expect_exact("tag: 0x0001") + child.expect_exact("offset: 12") # IPv6 child.expect_exact("PKTDUMP: data received:")