[riot-notifications] [RIOT-OS/RIOT] tests/gnrc_ipv6_ext_frag: fetch Interface IDs dynamically (#15856)

Martine Lenders notifications at github.com
Tue Jan 26 12:02:51 CET 2021


@miri64 commented on this pull request.



> +        if match:
+            # interface has a hardware address
+            ethos_id = int(child.match.group(1))
+            hwaddr = match.group(1)
+            # consume MTU for later calls of `ifconfig {mock_id}`
+            child.expect(r"MTU:(\d+)")
+        else:
+            mock_id = int(child.match.group(1))
+            # consume MTU for later calls of `ifconfig {mock_id}`
+            child.expect(r"MTU:(\d+)")

Taken :-)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15856#discussion_r564426468
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210126/c9a7b692/attachment.htm>


More information about the notifications mailing list