event_name="$3"
filter="$4"
validator="$5"
- local trace_path=$(mktemp -d -t tmp.test_filtering_invalid_filters_trace_path.XXXXXX)
+ local trace_path=$(mktemp -d -t tmp.test_filtering_valid_filters_trace_path.XXXXXX)
diag "Test valid $domain_name filter: $filter"
stop_lttng_tracing_ok $SESSION_NAME
# Destroy session
- destroy_lttng_session_ok $SESSION_NAME
+ destroy_lttng_session_ok $SESSION_NAME --no-wait
stats=`"$BABELTRACE_BIN" $trace_path | $STATS_BIN --tracepoint $event_name`