Add consumer socket object and relayd commands
[lttng-tools.git] / tests / utils.sh
index e1fd5cb91403a2fbfc41d51323594dcfc51ef663..1ca298562aeb8afca9b2f9bd29494383fabc4d45 100644 (file)
@@ -97,11 +97,14 @@ function lttng_enable_kernel_event
 
 function lttng_start_relayd
 {
-       echo -e -n "Starting lttng-relayd... "
+       local opt="$1"
+
+       echo -e -n "Starting lttng-relayd (opt: $opt)... "
+
        DIR=$(readlink -f $TESTDIR)
 
        if [ -z $(pidof lt-$RELAYD_BIN) ]; then
-               $DIR/../src/bin/lttng-relayd/$RELAYD_BIN >/dev/null 2>&1 &
+               $DIR/../src/bin/lttng-relayd/$RELAYD_BIN $opt >/dev/null 2>&1 &
                if [ $? -eq 1 ]; then
                        echo -e "\e[1;31mFAILED\e[0m"
                        return 1
This page took 0.024495 seconds and 4 git commands to generate.