Skip to content

Commit

Permalink
Merge pull request #7778 from miri64/tests/fix/gnrc_netif2
Browse files Browse the repository at this point in the history
tests: gnrc_netif2: make link-layer information matching generic
  • Loading branch information
haukepetersen committed Oct 24, 2017
2 parents c3b0e43 + e9e299b commit edaba04
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/gnrc_netif2/tests/01-run.py
Expand Up @@ -93,7 +93,7 @@ def testfunc(child):
child.expect("PKTDUMP: data received:")
child.expect(r"~~ SNIP 0 - size: 0 byte, type: NETTYPE_UNDEF \(0\)")
child.expect(r"00000000~~ SNIP 1 - size: 20 byte, type: NETTYPE_NETIF \(-1\)")
child.expect(r"if_pid: \d+ rssi: 0 lqi: 0")
child.expect(r"if_pid: \d+ rssi: \d+ lqi: \d+")
child.expect("flags: 0x0")
child.expect("src_l2addr: 3e:e6:b5:22:fd:0b")
child.expect("dst_l2addr: 3e:e6:b5:22:fd:0a")
Expand All @@ -103,7 +103,7 @@ def testfunc(child):
child.expect("PKTDUMP: data received:")
child.expect(r"~~ SNIP 0 - size: 0 byte, type: NETTYPE_UNDEF \(0\)")
child.expect(r"00000000~~ SNIP 1 - size: 24 byte, type: NETTYPE_NETIF \(-1\)")
child.expect("if_pid: 7 rssi: 0 lqi: 0")
child.expect(r"if_pid: \d+ rssi: \d+ lqi: \d+")
child.expect("flags: 0x0")
child.expect("src_l2addr: 3e:e6:b5:0f:19:22:fd:0b")
child.expect("dst_l2addr: 3e:e6:b5:0f:19:22:fd:0a")
Expand All @@ -114,7 +114,7 @@ def testfunc(child):
child.expect(r"~~ SNIP 0 - size: 4 byte, type: NETTYPE_UNDEF \(0\)")
child.expect("00000000 12 34 45 56")
child.expect(r"~~ SNIP 1 - size: 20 byte, type: NETTYPE_NETIF \(-1\)")
child.expect(r"if_pid: \d+ rssi: 0 lqi: 0")
child.expect(r"if_pid: \d+ rssi: \d+ lqi: \d+")
child.expect("flags: 0x0")
child.expect("src_l2addr: 3e:e6:b5:22:fd:0b")
child.expect("dst_l2addr: 3e:e6:b5:22:fd:0a")
Expand All @@ -125,7 +125,7 @@ def testfunc(child):
child.expect(r"~~ SNIP 0 - size: 4 byte, type: NETTYPE_UNDEF \(0\)")
child.expect("00000000 12 34 45 56")
child.expect(r"~~ SNIP 1 - size: 24 byte, type: NETTYPE_NETIF \(-1\)")
child.expect("if_pid: 7 rssi: 0 lqi: 0")
child.expect(r"if_pid: \d+ rssi: \d+ lqi: \d+")
child.expect("flags: 0x0")
child.expect("src_l2addr: 3e:e6:b5:0f:19:22:fd:0b")
child.expect("dst_l2addr: 3e:e6:b5:0f:19:22:fd:0a")
Expand All @@ -142,7 +142,7 @@ def testfunc(child):
child.expect("source address: fe80::3fe6:b5ff:fe22:fd0a")
child.expect("destination address: fe80::3fe6:b5ff:fe22:fd0b")
child.expect(r"~~ SNIP 1 - size: 20 byte, type: NETTYPE_NETIF \(-1\)")
child.expect(r"if_pid: \d+ rssi: 0 lqi: 0")
child.expect(r"if_pid: \d+ rssi: \d+ lqi: \d+")
child.expect("flags: 0x0")
child.expect("src_l2addr: 3e:e6:b5:22:fd:0b")
child.expect("dst_l2addr: 3e:e6:b5:22:fd:0a")
Expand Down

0 comments on commit edaba04

Please sign in to comment.