Tests fix: lttngtest: quote session output path
[lttng-tools.git] / tests / utils / lttngtest / lttng.py
index 6b86bbac56aec3cdf36f537cec81ecd1531eba0a..9dd21fb033fc7566411c2d369a1e1d1083ace26c 100644 (file)
@@ -435,7 +435,7 @@ class LTTngClient(logger._Logger, lttngctl.Controller):
         name = name if name else lttngctl.Session._generate_name()
 
         if isinstance(output, lttngctl.LocalSessionOutputLocation):
-            output_option = "--output {output_path}".format(output_path=output.path)
+            output_option = "--output '{output_path}'".format(output_path=output.path)
         elif output is None:
             output_option = "--no-output"
         else:
This page took 0.024038 seconds and 4 git commands to generate.