Refactor: test: wrapper for destroy_lttng_session
[lttng-tools.git] / tests / regression / tools / filtering / test_valid_filter
index 4d8d2afff5c1d7b1ab69b9089e8c3b5b81324dd5..df4eb47e3687a6245488c9b5c8bcd443538ee176 100755 (executable)
@@ -59,18 +59,18 @@ function test_valid_filter
        trace_path=$(mktemp -d)
 
        # Create session
-       create_lttng_session $SESSION_NAME $trace_path
+       create_lttng_session_ok $SESSION_NAME $trace_path
 
        # Enable filter
        enable_ust_lttng_event_filter $SESSION_NAME $EVENT_NAME $filter
 
        # Trace apps
-       start_lttng_tracing $SESSION_NAME
+       start_lttng_tracing_ok $SESSION_NAME
        run_apps
-       stop_lttng_tracing $SESSION_NAME
+       stop_lttng_tracing_ok $SESSION_NAME
 
        # Destroy session
-       destroy_lttng_session $SESSION_NAME
+       destroy_lttng_session_ok $SESSION_NAME
 
        stats=`babeltrace $trace_path | $STATS_BIN --tracepoint $EVENT_NAME`
 
This page took 0.028652 seconds and 5 git commands to generate.