Refactor: test: wrapper for destroy_lttng_session
[lttng-tools.git] / tests / regression / tools / filtering / test_invalid_filter
index c639ff172672b52154e8586586a7506a72340425..4ba4b8b400999e0a1971b9129e8b10f70d36d1fd 100755 (executable)
@@ -60,7 +60,7 @@ function test_invalid_filter
        enable_ust_lttng_event_filter $SESSION_NAME $EVENT_NAME "$test_invalid_filter"
 
        # Destroy session
-       destroy_lttng_session $SESSION_NAME
+       destroy_lttng_session_ok $SESSION_NAME
 }
 
 function test_bytecode_limit
@@ -78,7 +78,7 @@ function test_bytecode_limit
        enable_ust_lttng_event_filter $SESSION_NAME $EVENT_NAME "$BYTECODE_LIMIT"
 
        # Destroy session
-       destroy_lttng_session $SESSION_NAME
+       destroy_lttng_session_ok $SESSION_NAME
 }
 
 plan_tests $NUM_TESTS
This page took 0.024314 seconds and 5 git commands to generate.