From: Mathieu Desnoyers Date: Mon, 27 Jan 2014 03:32:35 +0000 (-0500) Subject: tests: use --background for session daemon X-Git-Tag: v2.4.0-rc4~13 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=fef84dd50816b13d967a9dbc3221af590f163f5f;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"