tests: convert paths passed to lttng_live_server.py
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 1 Oct 2019 22:16:25 +0000 (18:16 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 2 Oct 2019 17:33:41 +0000 (13:33 -0400)
commit742e3279742e94b50f381786085b3e018839f5be
treec1a38fbd974873d1d26b8cbf87b50d743750acf6
parenta01934b7e047dc97f13602b53604559e1606b263
tests: convert paths passed to lttng_live_server.py

On Windows, the MSYS2 bash tries to convert paths in the Unix form
(/c/foo/bar) to the Windows form (C:\foo\bar).  However, some paths are
embedded in some complex arguments we pass to lttng_live_server.py, and
bash does not convert them.  This causes the file open in Python to
fail, because it doesn't find that file.  We therefore need to convert
them by hand using cygpath before passing them to the Python script.

Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Change-Id: I108e6dc2a690042bf727335fc5af5294bf928590
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2112
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
tests/plugins/src.ctf.lttng-live/test_live
This page took 0.024178 seconds and 4 git commands to generate.