summaryrefslogtreecommitdiff
path: root/tests/topotests/zebra_rib/test_zebra_rib.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/zebra_rib/test_zebra_rib.py')
-rw-r--r--tests/topotests/zebra_rib/test_zebra_rib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/topotests/zebra_rib/test_zebra_rib.py b/tests/topotests/zebra_rib/test_zebra_rib.py
index c0a79ed79d..d1aee46b40 100644
--- a/tests/topotests/zebra_rib/test_zebra_rib.py
+++ b/tests/topotests/zebra_rib/test_zebra_rib.py
@@ -246,6 +246,7 @@ def test_route_map_usage():
def check_static_map_correct_runs():
actual = r1.vtysh_cmd("show route-map static")
+ actual = re.sub(r"\([0-9].* milli", "(X milli", actual)
actual = ("\n".join(actual.splitlines()) + "\n").rstrip()
return topotest.get_textdiff(
actual,
@@ -266,6 +267,7 @@ def test_route_map_usage():
def check_sharp_map_correct_runs():
actual = r1.vtysh_cmd("show route-map sharp")
+ actual = re.sub(r"\([0-9].* milli", "(X milli", actual)
actual = ("\n".join(actual.splitlines()) + "\n").rstrip()
return topotest.get_textdiff(
actual,