Skip to content

Commit

Permalink
tests: Make sure we have a valid FRRouting software version string
Browse files Browse the repository at this point in the history
It can't begin with anything else, otherwise something is broken on the wire.

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Sep 29, 2023
1 parent 5e8a8d0 commit 0e43f80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _bgp_software_version():
if not adv and not rcv:
return ""

pattern = "FRRouting/\\d.+"
pattern = "^FRRouting/\\d.+"
if re.search(pattern, adv) and re.search(pattern, rcv):
return adv, rcv
except:
Expand Down

0 comments on commit 0e43f80

Please sign in to comment.