projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add consumer socket object and relayd commands
[lttng-tools.git]
/
tests
/
utils.sh
diff --git
a/tests/utils.sh
b/tests/utils.sh
index e1fd5cb91403a2fbfc41d51323594dcfc51ef663..1ca298562aeb8afca9b2f9bd29494383fabc4d45 100644
(file)
--- a/
tests/utils.sh
+++ b/
tests/utils.sh
@@
-97,11
+97,14
@@
function lttng_enable_kernel_event
function lttng_start_relayd
{
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=$(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
if [ $? -eq 1 ]; then
echo -e "\e[1;31mFAILED\e[0m"
return 1
This page took
0.023792 seconds
and
4
git commands to generate.