[lttng-dev] [PATCH lttng-tools] Fix: test: use load_path instead of $1
Jonathan Rajotte
jonathan.rajotte-julien at efficios.com
Thu Jan 14 13:40:42 EST 2016
$1 is used for tap condition checking not the load path.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
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 3520792..42b3441 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
--
2.5.0
More information about the lttng-dev
mailing list