test utils: support URI in lttng_snapshot_add_output
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 21 Aug 2019 23:24:39 +0000 (16:24 -0700)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 00:00:57 +0000 (20:00 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/utils/utils.sh

index 024550e675587ffc3004c4ccc7edece2b4a4aa6b..9b93857c255569e7445d9d9f9a968d8eb6f1e0be 100644 (file)
@@ -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"
This page took 0.02654 seconds and 4 git commands to generate.