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@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()
On Wed, Mar 16, 2016 at 04:25:35PM +0100, Jan Tluka wrote:
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@redhat.com
Acked-by: Ondrej Lichtner olichtne@redhat.com
Wed, Mar 16, 2016 at 04:25:35PM CET, jtluka@redhat.com wrote:
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@redhat.com
FYI, I've just applied the patch.
-Jan
lnst-developers@lists.fedorahosted.org