X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fsnapshots%2Ftest_kernel_streaming;h=aa4c5b558af68d095e9dae5902989f37cfa2ce7c;hp=e37b8d464cf575a2e0c9ecfcde4ccef76ea4f68c;hb=67b4c664e2c6c6dc19920555c0abf094ed6cbe00;hpb=96340a015194538227efcbc654ec02c2ed9961ce diff --git a/tests/regression/tools/snapshots/test_kernel_streaming b/tests/regression/tools/snapshots/test_kernel_streaming index e37b8d464..aa4c5b558 100755 --- a/tests/regression/tools/snapshots/test_kernel_streaming +++ b/tests/regression/tools/snapshots/test_kernel_streaming @@ -78,7 +78,7 @@ function test_kernel_default_name_with_del() fi stop_lttng_tracing_ok $SESSION_NAME - destroy_lttng_session $SESSION_NAME + destroy_lttng_session_ok $SESSION_NAME return 0 } @@ -94,7 +94,7 @@ function test_kernel_default_name() snapshot_add_output $SESSION_NAME "net://localhost" lttng_snapshot_record $SESSION_NAME stop_lttng_tracing_ok $SESSION_NAME - destroy_lttng_session $SESSION_NAME + destroy_lttng_session_ok $SESSION_NAME # Validate test validate_trace $EVENT_NAME $TRACE_PATH/$HOSTNAME/snapshot-1* out=$? @@ -116,7 +116,7 @@ function test_kernel_custom_name() snapshot_add_output $SESSION_NAME "net://localhost" $name lttng_snapshot_record $SESSION_NAME stop_lttng_tracing_ok $SESSION_NAME - destroy_lttng_session $SESSION_NAME + destroy_lttng_session_ok $SESSION_NAME if ls $TRACE_PATH/$HOSTNAME/$name* &> /dev/null; then ok 0 "Custom name snapshot exists"