commit 690a1e8c90e1a8d272eac60f347ac0e907917211 Author: Jan Tluka jtluka@redhat.com Date: Tue Oct 8 15:06:28 2013 +0200
Fix missing attribute from when running test tools in task
We forgot to copy the "from" attribute when passing command to slave machine for execution. This results in "command not found" since the slave machine tries to execute the command without changing to test tool directory.
Signed-off-by: Jan Tluka jtluka@redhat.com Signed-off-by: Jiri Pirko jiri@resnulli.us
lnst/Controller/NetTestController.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) --- diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py index d0a53ae..bf241c1 100644 --- a/lnst/Controller/NetTestController.py +++ b/lnst/Controller/NetTestController.py @@ -319,6 +319,7 @@ class NetTestController: tool = cmd_data["from"] if tool in self._resource_table["tools"]: cmd["command"] = cmd_data["command"] + cmd["from"] = cmd_data["from"] else: msg = "Tool '%s' not found on the controller" % tool raise RecipeError(msg, cmd_data)
lnst-developers@lists.fedorahosted.org