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.7.2~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d7d1f44be73613b09f478775259dba143ec73ca3;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 6c5279bdd..4ee3dda87 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -378,7 +378,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