Refactor: test: wrapper for start_lttng_tracing
[lttng-tools.git] / tests / regression / tools / streaming / test_ust
index e6a0bb846569117ee4add0fb11215cd022120653..68d92947c1051f55cb66cda4edf98575e4a254ce 100755 (executable)
@@ -54,12 +54,12 @@ function test_ust_before_start ()
 
        diag "Test UST streaming BEFORE tracing starts"
        lttng_create_session_uri
-       enable_ust_lttng_event $SESSION_NAME $EVENT_NAME
+       enable_ust_lttng_event_ok $SESSION_NAME $EVENT_NAME
 
        # Run 5 times with a 1 second delay
        $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT ${file_sync_after_first} ${file_sync_before_last} /dev/null 2>&1 &
 
-       start_lttng_tracing $SESSION_NAME
+       start_lttng_tracing_ok $SESSION_NAME
 
        touch ${file_sync_before_last}
 
@@ -78,8 +78,8 @@ function test_ust_after_start ()
 
        diag "Test UST streaming AFTER tracing starts"
        lttng_create_session_uri
-       enable_ust_lttng_event $SESSION_NAME $EVENT_NAME
-       start_lttng_tracing $SESSION_NAME
+       enable_ust_lttng_event_ok $SESSION_NAME $EVENT_NAME
+       start_lttng_tracing_ok $SESSION_NAME
 
        # Run 5 times with a 1 second delay
        $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT ${file_sync_after_first} >/dev/null 2>&1
This page took 0.024968 seconds and 5 git commands to generate.