Refactor: test: wrapper for destroy_lttng_session
[lttng-tools.git] / tests / regression / tools / streaming / test_kernel
index 68b7247b60feef9247e41472045340b85fbb09f7..d54bcedf52e995891e768a757f1da8d9e54e7d0c 100755 (executable)
@@ -51,7 +51,7 @@ function test_kernel_before_start ()
        # Give a second
        sleep 1
        stop_lttng_tracing_ok $SESSION_NAME
-       destroy_lttng_session $SESSION_NAME
+       destroy_lttng_session_ok $SESSION_NAME
 }
 
 # Deactivated since this feature is not yet available where we can enable
@@ -65,7 +65,7 @@ function test_kernel_after_start ()
        # Give a second
        sleep 1
        stop_lttng_tracing_ok $SESSION_NAME
-       destroy_lttng_session $SESSION_NAME
+       destroy_lttng_session_ok $SESSION_NAME
 }
 
 plan_tests $NUM_TESTS
This page took 0.022719 seconds and 4 git commands to generate.