From 030ccc250152b15afa188608e0952f79991a1ce3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 21 Aug 2019 16:24:39 -0700 Subject: [PATCH] test utils: support URI in lttng_snapshot_add_output MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- tests/utils/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.34.1