Fix: test: use load_path instead of $1
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 14 Jan 2016 18:40:42 +0000 (13:40 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 14 Jan 2016 20:23:50 +0000 (15:23 -0500)
$1 is used for tap condition checking not the load path.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/utils/utils.sh

index 35207929eca6afd63394c63a7f7d556c579f3489..42b344138d9f176ef2fcb39e37fbec9acc2e994b 100644 (file)
@@ -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
This page took 0.027114 seconds and 4 git commands to generate.