mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 15:43:55 +00:00
tests: fix python3 backported iproute2 vrf check
Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
This commit is contained in:
parent
b04af734aa
commit
6a93e3df4e
@ -544,8 +544,7 @@ def iproute2_is_vrf_capable():
|
|||||||
["ip", "route", "show", "vrf"],
|
["ip", "route", "show", "vrf"],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE
|
||||||
encoding="utf-8"
|
|
||||||
)
|
)
|
||||||
iproute2_err = subp.communicate()[1].splitlines()[0].split()[0]
|
iproute2_err = subp.communicate()[1].splitlines()[0].split()[0]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user