Refactor: test: wrapper for stop_lttng_tracing
[lttng-tools.git] / tests / regression / ust / multi-session / test_multi_session
index 63ed54def122c6b701a021f476bd30365bbbebd1..45da8d20497522fe4c97ed79b44cfb4f54c4433e 100755 (executable)
@@ -37,8 +37,8 @@ test_multi_session() {
        # BEFORE application is spawned
        for i in `seq 0 3`; do
                create_lttng_session_ok "$SESSION_NAME-$i" "$TRACE_PATH/$i"
-               enable_ust_lttng_event "$SESSION_NAME-$i" "$EVENT_NAME$i"
-               start_lttng_tracing "$SESSION_NAME-$i"
+               enable_ust_lttng_event_ok "$SESSION_NAME-$i" "$EVENT_NAME$i"
+               start_lttng_tracing_ok "$SESSION_NAME-$i"
        done
 
        ./$CURDIR/gen-nevents $NR_ITER &
@@ -48,7 +48,7 @@ test_multi_session() {
        pass "Wait for events to record"
 
        for i in `seq 0 3`; do
-               stop_lttng_tracing "$SESSION_NAME-$i"
+               stop_lttng_tracing_ok "$SESSION_NAME-$i"
                destroy_lttng_session "$SESSION_NAME-$i"
                out=$(babeltrace "$TRACE_PATH/$i" | grep "$EVENT_NAMEi$i" | wc -l)
                if [ $out -ne $NR_ITER ]; then
This page took 0.024047 seconds and 4 git commands to generate.