X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Futils.sh;h=94b3a3c45fc12a376c1d4d51d8ff44159fca89c6;hb=26108ea513956529dab096e8cb69405f3c877d3b;hp=f2393b9cf69ea1370b65b1815b74c805e3a099ee;hpb=163d1d0570af24346b8d4c032206d417d976841b;p=lttng-tools.git 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