From: Mathieu Desnoyers Date: Wed, 21 Aug 2019 23:24:39 +0000 (-0700) Subject: test utils: support URI in lttng_snapshot_add_output X-Git-Tag: v2.11.0-rc3~42 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7d3243c765bb7653f8c7eab9e6f9a81ce3b00ebd;p=lttng-tools.git test utils: support URI in lttng_snapshot_add_output Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 024550e67..9b93857c2 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -1236,7 +1236,7 @@ function lttng_snapshot_add_output () local sess_name=$2 local trace_path=$3 - $TESTDIR/../src/bin/lttng/$LTTNG_BIN snapshot add-output -s $sess_name file://$trace_path 1> $OUTPUT_DEST 2> $ERROR_OUTPUT_DEST + $TESTDIR/../src/bin/lttng/$LTTNG_BIN snapshot add-output -s $sess_name $trace_path 1> $OUTPUT_DEST 2> $ERROR_OUTPUT_DEST ret=$? if [[ $expected_to_fail -eq 1 ]]; then test "$ret" -ne "0"