From: Ondrej Lichtner <olichtne(a)redhat.com>
Using absolute paths is easier more portable and will be easier to work
with when implementing support for mapping files accessible through
http.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Controller/NetTestController.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py
index 2208346..1120e79 100644
--- a/lnst/Controller/NetTestController.py
+++ b/lnst/Controller/NetTestController.py
@@ -58,7 +58,7 @@ class NetTestController:
self._res_serializer = res_serializer
self._remote_capture_files = {}
self._log_ctl = log_ctl
- self._recipe_path = recipe_path
+ self._recipe_path = Path(None, recipe_path).abs_path()
self._msg_dispatcher = MessageDispatcher(log_ctl)
self._packet_capture = packet_capture
self._reduce_sync = reduce_sync
--
2.6.0