]> git.proxmox.com Git - mirror_frr.git/commit
topotests/lib: fallback topology logdir if none was configured
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 25 Mar 2019 15:08:26 +0000 (12:08 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 25 Mar 2019 17:46:16 +0000 (14:46 -0300)
commit0d5e41c628f3f72983be354cde3a49498790b37e
tree4026a32192e2a6bfa427b11c1df8aee4786ee0e1
parentc9146c85a0356a9c62b52f384025bfe0ff65c654
topotests/lib: fallback topology logdir if none was configured

`param.get` always evaluates the second argument and it was causing
two log directories being created for topologies using Topogen.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
tests/topotests/lib/topotest.py