From: Mathieu Desnoyers Date: Mon, 27 Jan 2014 03:32:35 +0000 (-0500) Subject: tests: use --background for session daemon X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=d7b63d8cb065085e8518e380923283884f4f31ea;p=lttng-tools.git tests: use --background for session daemon Will now show errors when they happen. Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index c433d6c72..63b5eefed 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -157,7 +157,7 @@ function start_lttng_sessiond() DIR=$(readlink -f $TESTDIR) if [ -z $(pidof lt-$SESSIOND_BIN) ]; then - $DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --daemonize --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 --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 --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --verbose-consumer >>/tmp/sessiond.log 2>&1 & status=$? ok $status "Start session daemon"