1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/gnrc_dhcpv6_client: fix expected output

This commit is contained in:
Martine Lenders 2020-07-15 16:26:38 +02:00
parent 1167867d02
commit 550bfe519a
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -18,8 +18,8 @@ def testfunc(child):
child.expect(r"inet6 addr:\s+(?P<global_addr>[0-9a-f:]+)\s+scope: global")
global_addr = child.match.group("global_addr")
child.expect(r"(?P<global_pfx>[0-9a-f:]+)/64\s+dev #\d\s+"
r"expires \d+sec\s+"
r"deprecates \d+sec")
r"expires \d+ sec\s+"
r"deprecates \d+ sec")
global_pfx = child.match.group("global_pfx")
if global_pfx.endswith("::"):
# remove one trailing : in case there are no 0s between prefix and