From 19003d6e99ecb86133c89421675a5520fd816387 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Fri, 7 Apr 2023 05:58:15 +0000 Subject: [PATCH] tests: don't warn with expected results Signed-off-by: Christian Hopps --- tests/topotests/lib/topogen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topotests/lib/topogen.py b/tests/topotests/lib/topogen.py index ff2cc83268..f5b3ad06d9 100644 --- a/tests/topotests/lib/topogen.py +++ b/tests/topotests/lib/topogen.py @@ -802,7 +802,7 @@ class TopoRouter(TopoGear): grep_cmd = "grep 'ip {}' {}".format(daemonstr, source) else: grep_cmd = "grep 'router {}' {}".format(daemonstr, source) - result = self.run(grep_cmd).strip() + result = self.run(grep_cmd, warn=False).strip() if result: self.load_config(daemon) else: -- 2.39.5