diff options
| -rw-r--r-- | tests/topotests/lib/topotest.py | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index 301f245b17..07033698d0 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -1960,7 +1960,13 @@ class Router(Node):                  )              else:                  binary = os.path.join(self.daemondir, daemon) -                check_daemon_files.extend([runbase + ".pid", runbase + ".vty"]) +                if daemon == "zebra": +                    zapi_base = "/var/run/{}/zserv.api".format(self.routertype) +                    check_daemon_files.extend( +                        [runbase + ".pid", runbase + ".vty", zapi_base] +                    ) +                else: +                    check_daemon_files.extend([runbase + ".pid", runbase + ".vty"])                  cmdenv = "ASAN_OPTIONS="                  if asan_abort:  | 
