X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Futils.sh;h=94b3a3c45fc12a376c1d4d51d8ff44159fca89c6;hp=f2393b9cf69ea1370b65b1815b74c805e3a099ee;hb=3355fd4d9665a0899060b66959c48f226a1f3e89;hpb=165b45535a23825c8216da0314620be91a0b67e9 diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index f2393b9cf..94b3a3c45 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -646,9 +646,9 @@ function stop_lttng_consumerd_opt() if [ $withtap -eq "1" ]; then diag "Killing $CONSUMERD_BIN pids: $(echo $PID_CONSUMERD | tr '\n' ' ')" fi + kill $kill_opt $PID_CONSUMERD 1> $OUTPUT_DEST 2> $ERROR_OUTPUT_DEST retval=$? - set +x if [ $? -eq 1 ]; then if [ $withtap -eq "1" ]; then @@ -703,7 +703,6 @@ function sigstop_lttng_consumerd_opt() fi kill $kill_opt $PID_CONSUMERD 1> $OUTPUT_DEST 2> $ERROR_OUTPUT_DEST retval=$? - set +x if [ $? -eq 1 ]; then if [ $withtap -eq "1" ]; then