Fix: tests: typo in rotation util
[lttng-tools.git] / tests / utils / utils.sh
index f2393b9cf69ea1370b65b1815b74c805e3a099ee..024550e675587ffc3004c4ccc7edece2b4a4aa6b 100644 (file)
@@ -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
@@ -1729,9 +1728,9 @@ function lttng_enable_rotation_timer ()
        ret=$?
        if [[ $expected_to_fail -eq "1" ]]; then
                test "$ret" -ne "0"
-               ok $? "Expected fail on rotate session $sess_name"
+               ok $? "Expected fail when setting periodic rotation ($period) of session $sess_name"
        else
-               ok $ret "Rotate session $sess_name"
+               ok $ret "Set periodic rotation ($period) of session $sess_name"
        fi
 }
 
This page took 0.024595 seconds and 4 git commands to generate.