In multimatch mode the log_dir was not set properly and the initial
value (match_1) was used everytime the match was performed.
Fixes issue 164.
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
lnst-ctl | 1 +
1 file changed, 1 insertion(+)
diff --git a/lnst-ctl b/lnst-ctl
index 6d656f8..f3c2eb2 100755
--- a/lnst-ctl
+++ b/lnst-ctl
@@ -140,6 +140,7 @@ def get_recipe_result(action, file_path, log_ctl, res_serializer,
try:
nettestctl.provision_machines()
log_ctl.set_recipe(file_path, expand="match_%d" % matches)
+ log_dir = log_ctl.get_recipe_log_path()
recipe_head_log_entry(file_path, log_dir, matches)
res_serializer.add_recipe(file_path, matches)
nettestctl.print_match_description()
--
2.4.3
Show replies by date