# Wait for the applications started in background
wait
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
rm -f ${file_sync_after_first}
# Run 5 times with a 1 second delay
run_app
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
# Run 5 times with a 1 second delay
run_app
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
# Run 5 times with a 1 second delay
run_app
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting 0 events.
# Run 5 times with a 1 second delay
run_app
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
# Run 5 times with a 1 second delay and fire two TP.
run_app 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events times two.
# Run 5 times with a 1 second delay and fire two TP.
run_app 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events times two.
# Run 5 times with a 1 second delay and fire second TP.
run_app 1 1
- stop_lttng_tracing $SESSION_NAME-1
- stop_lttng_tracing $SESSION_NAME-2
+ stop_lttng_tracing_ok $SESSION_NAME-1
+ stop_lttng_tracing_ok $SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME-1
- stop_lttng_tracing $SESSION_NAME-2
+ stop_lttng_tracing_ok $SESSION_NAME-1
+ stop_lttng_tracing_ok $SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
run_app
- stop_lttng_tracing $SESSION_NAME-1
- stop_lttng_tracing $SESSION_NAME-2
+ stop_lttng_tracing_ok $SESSION_NAME-1
+ stop_lttng_tracing_ok $SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting NO event of the first TP and second TP.
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME-1
- stop_lttng_tracing $SESSION_NAME-2
+ stop_lttng_tracing_ok $SESSION_NAME-1
+ stop_lttng_tracing_ok $SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
# Wait for the applications started in background
wait
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting at least one event num 1
# Wait for the applications started in background
wait
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting only one event num 2
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting one event of the second TP only.
# Run 5 times with a 1 second delay, fire finest and second TP.
run_app 1 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting NR_ITER event of the main INFO tp.
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting one event of the second TP only.
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting NR_ITER event of the main INFO tp.
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting no events.