From 60b5ff877acdc70048fce13b379c5a249ff27a5e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 5 Jan 2022 09:15:26 -0500 Subject: [PATCH] tests: Fixup output that was incorrect in nhrp_topo The nhrp_topo test sets up some infrastructure and was displaying the commands it was outputting incorrectly. Fix this. Signed-off-by: Donald Sharp --- tests/topotests/nhrp_topo/test_nhrp_topo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/topotests/nhrp_topo/test_nhrp_topo.py b/tests/topotests/nhrp_topo/test_nhrp_topo.py index 313ffd5ce9..e6e551906a 100644 --- a/tests/topotests/nhrp_topo/test_nhrp_topo.py +++ b/tests/topotests/nhrp_topo/test_nhrp_topo.py @@ -87,14 +87,14 @@ def _populate_iface(): for cmd in cmds_tot_hub: input = cmd.format("r2", "2") - logger.info("input: " + cmd) - output = tgen.net["r2"].cmd(cmd.format("r2", "2")) + logger.info("input: " + input) + output = tgen.net["r2"].cmd(input) logger.info("output: " + output) for cmd in cmds_tot: input = cmd.format("r1", "1") - logger.info("input: " + cmd) - output = tgen.net["r1"].cmd(cmd.format("r1", "1")) + logger.info("input: " + input) + output = tgen.net["r1"].cmd(input) logger.info("output: " + output) -- 2.39.5