]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: bgp_evpn_route_map_match fix invalid escape sequence
authorDonald Sharp <sharpd@nvidia.com>
Fri, 7 Mar 2025 15:37:51 +0000 (10:37 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 7 Mar 2025 15:37:51 +0000 (10:37 -0500)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/bgp_evpn_route_map_match/test_bgp_evpn_route_map_match.py

index 925ae1fce800d7840412d36f992dd690af7d2479..d80c9071cea5189cca40c168d895449feb905eb7 100644 (file)
@@ -119,7 +119,7 @@ def test_bgp_evpn_route_map_match_route_type2():
 
     c2_mac = (
         tgen.gears["c2"]
-        .cmd("ip link show c2-eth0 | awk '/link\/ether/ {print $2}'")
+        .cmd(r"ip link show c2-eth0 | awk '/link\/ether/ {print $2}'")
         .rstrip()
     )
     tgen.gears["r1"].vtysh_cmd(