return $?
fi
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
stop_test_apps
snapshot_add_output $SESSION_NAME "net://localhost"
lttng_snapshot_record $SESSION_NAME
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test
validate_trace $EVENT_NAME $TRACE_PATH/$HOSTNAME/snapshot-1*
snapshot_add_output $SESSION_NAME "-C tcp://localhost:5342 -D tcp://localhost:5343"
lttng_snapshot_record $SESSION_NAME
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test
validate_trace $EVENT_NAME $TRACE_PATH/$HOSTNAME/snapshot-1*
snapshot_add_output $SESSION_NAME "net://localhost" $name
lttng_snapshot_record $SESSION_NAME
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session $SESSION_NAME
if ls $TRACE_PATH/$HOSTNAME/$name* &> /dev/null; then