From: Jonathan Rajotte Date: Thu, 14 Jan 2016 18:40:42 +0000 (-0500) Subject: Fix: test: use load_path instead of $1 X-Git-Tag: v2.8.0-rc1~192 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e4f8013bd2dadd7f44f8b70e15800193728e2dea;p=lttng-tools.git Fix: test: use load_path instead of $1 $1 is used for tap condition checking not the load path. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 35207929e..42b344138 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -362,7 +362,7 @@ function start_lttng_sessiond_opt() if [ -z $(pgrep --full lt-$SESSIOND_BIN) ]; then # Have a load path ? if [ -n "$load_path" ]; then - $DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --load "$1" --background --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" + $DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --load "$load_path" --background --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" else $DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --background --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" fi