mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
tests: bgp_route_server_client should not use /tmp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
b109b0cd82
commit
0d7d795c00
@ -180,7 +180,6 @@ def test_bgp_route_server_client_step1():
|
||||
else:
|
||||
cmd = "show bgp ipv6 unicast json"
|
||||
|
||||
# router.cmd("vtysh -c 'sh bgp ipv6 json' >/tmp/show_bgp_ipv6_%s.json" % router.name)
|
||||
ref_file = "{}/{}/show_bgp_ipv6_step1.json".format(CWD, router.name)
|
||||
expected = json.loads(open(ref_file).read())
|
||||
replace_link_local(expected, link_local_cache)
|
||||
@ -230,7 +229,6 @@ router bgp 65000 view RS
|
||||
else:
|
||||
cmd = "show bgp ipv6 unicast json"
|
||||
|
||||
# router.cmd("vtysh -c 'sh bgp ipv6 json' >/tmp/show_bgp_ipv6_%s.json" % router.name)
|
||||
ref_file = "{}/{}/show_bgp_ipv6_step2.json".format(CWD, router.name)
|
||||
expected = json.loads(open(ref_file).read())
|
||||
replace_link_local(expected, link_local_cache)
|
||||
@ -286,7 +284,6 @@ router bgp 65000 view RS
|
||||
else:
|
||||
cmd = "show bgp ipv6 unicast json"
|
||||
|
||||
# router.cmd("vtysh -c 'sh bgp ipv6 json' >/tmp/show_bgp_ipv6_%s.json" % router.name)
|
||||
ref_file = "{}/{}/show_bgp_ipv6_step1.json".format(CWD, router.name)
|
||||
expected = json.loads(open(ref_file).read())
|
||||
replace_link_local(expected, link_local_cache)
|
||||
|
Loading…
Reference in New Issue
Block a user