]> git.puffer.fish Git - matthieu/frr.git/commit
tests: more robust show route header stripping
authorDuncan Eastoe <duncan.eastoe@att.com>
Tue, 26 Jan 2021 16:59:48 +0000 (16:59 +0000)
committerDuncan Eastoe <duncan.eastoe@att.com>
Wed, 27 Jan 2021 12:19:52 +0000 (12:19 +0000)
commitec20380c347b92dddee342b46995dce512a571e4
treec02616b3373f4e1988555635c437da5022bb0c76
parentff6fd1cc8a7fb8e4b3bb91e1a639a5c39a280ef1
tests: more robust show route header stripping

In test_converge_protocols() use sed to match the "show ip(v6) route"
header and strip it, rather than using tail which requires hardcoding
the expected length of the header (which is subject to change).

Signed-off-by: Duncan Eastoe <duncan.eastoe@att.com>
tests/topotests/all-protocol-startup/test_all_protocol_startup.py