mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 02:46:37 +00:00
tests: don't complain when /tmp/topotests exists
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
b1077f0fa2
commit
cac0ed050e
@ -1006,7 +1006,7 @@ def diagnose_env_linux():
|
||||
if not os.path.isdir("/tmp"):
|
||||
logger.warning("could not find /tmp for logs")
|
||||
else:
|
||||
os.system("mkdir /tmp/topotests")
|
||||
os.system("mkdir -p /tmp/topotests")
|
||||
# Log diagnostics to file so it can be examined later.
|
||||
fhandler = logging.FileHandler(filename="/tmp/topotests/diagnostics.txt")
|
||||
fhandler.setLevel(logging.DEBUG)
|
||||
|
Loading…
Reference in New Issue
Block a user