mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 07:15:19 +00:00
all_protocol_startup: More tolerant on interface MTU output
- Allow 'MTU mismatch detection: enabled' and 'MTU mismatch detection:enabled' Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
parent
c540096e86
commit
985e6d50ec
@ -439,6 +439,8 @@ def test_ospfv2_interfaces():
|
||||
actual = re.sub(r"BW [0-9]+ Mbit", "BW XX Mbit", actual)
|
||||
# Drop time in next due
|
||||
actual = re.sub(r"Hello due in [0-9\.]+s", "Hello due in XX.XXXs", actual)
|
||||
# Fix 'MTU mismatch detection: enabled' vs 'MTU mismatch detection:enabled' - accept both
|
||||
actual = re.sub(r"MTU mismatch detection:([a-z]+.*)", r"MTU mismatch detection: \1", actual)
|
||||
# Fix newlines (make them all the same)
|
||||
actual = ('\n'.join(actual.splitlines()) + '\n').splitlines(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user