-echo -e "\n----------------------------------"
-echo -e "Testing lttng client (liblttngctl)"
-echo -e "----------------------------------"
-
-if [ -z $(pidof $SESSIOND_BIN) ]; then
- echo -n "Starting session daemon... "
- ../ltt-sessiond/$SESSIOND_BIN --daemonize --quiet
- if [ $? -eq 1 ]; then
- echo -e '\e[1;31mFAILED\e[0m'
- rm -rf $tmpdir
- exit 1
- else
- echo -e "\e[1;32mOK\e[0m"
- fi
-fi
-
-PID_SESSIOND=`pidof lt-$SESSIOND_BIN`
-
-# Simply wait for the session daemon bootstrap
-sleep 1
-