]> git.puffer.fish Git - matthieu/frr.git/commit
tests: do not rely on fixed indices in show output
authorPat Ruddy <pat@voltanet.io>
Tue, 27 Oct 2020 19:25:55 +0000 (19:25 +0000)
committerPat Ruddy <pat@voltanet.io>
Tue, 27 Oct 2020 20:12:40 +0000 (20:12 +0000)
commit7dbe42ce4cd72e5ec67723a1e4c132ed81836dbd
tree902227e38575cb1f408df97fa262229051b5fe28
parentdd511712271ae352b25288ecab318f885ade00d6
tests: do not rely on fixed indices in show output

Make tests more robust to changing show outputs by searching for
item of interest rather than using a fixed index.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
tests/topotests/bgp-evpn-vxlan_topo1/test_bgp_evpn_vxlan.py [changed mode: 0644->0755]