X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fregression%2Fust%2Ftest_event_wildcard;h=2cb562f0fd8e9385cec8e983604a4f00fb24dd7d;hb=96340a015194538227efcbc654ec02c2ed9961ce;hp=88c02b08a201544b6c557920637d2d6e33c237c5;hpb=5d2e1e66a968d9e555f9b8b00d0589ebfaf3de32;p=lttng-tools.git diff --git a/tests/regression/ust/test_event_wildcard b/tests/regression/ust/test_event_wildcard index 88c02b08a..2cb562f0f 100755 --- a/tests/regression/ust/test_event_wildcard +++ b/tests/regression/ust/test_event_wildcard @@ -27,8 +27,6 @@ NUM_TESTS=9 source $TESTDIR/utils/utils.sh -print_test_banner "$TEST_DESC" - function test_event_wildcard() { TRACE_PATH=$(mktemp -d) @@ -39,13 +37,13 @@ function test_event_wildcard() EVENT_NAME="*" EVENT_NAME2="abc*" - create_lttng_session $SESSION_NAME $TRACE_PATH + create_lttng_session_ok $SESSION_NAME $TRACE_PATH - enable_ust_lttng_event $SESSION_NAME "$EVENT_NAME" - enable_ust_lttng_event $SESSION_NAME "$EVENT_NAME2" + enable_ust_lttng_event_ok $SESSION_NAME "$EVENT_NAME" + enable_ust_lttng_event_ok $SESSION_NAME "$EVENT_NAME2" - start_lttng_tracing - stop_lttng_tracing + start_lttng_tracing_ok + stop_lttng_tracing_ok TODO="Validate trace output is coherent" ok 0 "Validate trace" @@ -59,6 +57,8 @@ function test_event_wildcard() # MUST set TESTDIR before calling those functions plan_tests $NUM_TESTS +print_test_banner "$TEST_DESC" + start_lttng_sessiond test_event_wildcard