Commit 007bd91f04 for frr
commit 007bd91f0486f4b5deac9910ad76c14bd78748fb
Author: Donald Sharp <sharpd@nvidia.com>
Date: Fri Sep 25 12:47:50 2026 -0400
tests: Test does not need to explicitly call out full vtysh path
The del_bgp_instances.py script does not need to explicitly call
out the path to vtysh. vtysh is already in the path.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/del_bgp_instances.py b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/del_bgp_instances.py
index fcbc3df6ef..4c2b151d40 100644
--- a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/del_bgp_instances.py
+++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/del_bgp_instances.py
@@ -2,28 +2,28 @@ from lib.lutil import luCommand
luCommand(
"r1",
- '/usr/lib/frr/vtysh -c "conf ter" -c "no router bgp 5227 vrf r1-cust1" -c "no router bgp 5226"',
+ 'vtysh -c "conf ter" -c "no router bgp 5227 vrf r1-cust1" -c "no router bgp 5226"',
".",
"none",
"Cleared bgp instances",
)
luCommand(
"r2",
- '/usr/lib/frr/vtysh -c "conf ter" -c "no router bgp 5226"',
+ 'vtysh -c "conf ter" -c "no router bgp 5226"',
".",
"none",
"Cleared bgp instances",
)
luCommand(
"r3",
- '/usr/lib/frr/vtysh -c "conf ter" -c "no router bgp 5227 vrf r3-cust1" -c "no router bgp 5226"',
+ 'vtysh -c "conf ter" -c "no router bgp 5227 vrf r3-cust1" -c "no router bgp 5226"',
".",
"none",
"Cleared bgp instances",
)
luCommand(
"r4",
- '/usr/lib/frr/vtysh -c "conf ter" -c "no router bgp 5228 vrf r4-cust2" -c "no router bgp 5227 vrf r4-cust1" -c "no router bgp 5226"',
+ 'vtysh -c "conf ter" -c "no router bgp 5228 vrf r4-cust2" -c "no router bgp 5227 vrf r4-cust1" -c "no router bgp 5226"',
".",
"none",
"Cleared bgp instances",