Tests: Fix first line of output to follow TAP guidelines
[lttng-tools.git] / tests / regression / tools / streaming / test_kernel
index 42df7b0d50c00fbe8f0effc4a0d4b1cff737ad7f..9877bb8d949f455c3e9ef071169c26f787eb7965 100755 (executable)
@@ -24,12 +24,10 @@ SESSION_NAME=""
 
 TRACE_PATH=$(mktemp -d)
 
-NUM_TESTS=11
+NUM_TESTS=10
 
 source $TESTDIR/utils/utils.sh
 
-print_test_banner "$TEST_DESC"
-
 # LTTng kernel modules check
 out=`ls /lib/modules/$(uname -r)/extra | grep lttng`
 if [ -z "$out" ]; then
@@ -79,6 +77,8 @@ function test_kernel_after_start ()
 
 plan_tests $NUM_TESTS
 
+print_test_banner "$TEST_DESC"
+
 if [ "$(id -u)" == "0" ]; then
        isroot=1
 else
@@ -87,8 +87,8 @@ fi
 
 skip $isroot "Root access is needed. Skipping all kernel streaming tests." $NUM_TESTS ||
 {
-       start_lttng_sessiond
        start_lttng_relayd "-o $TRACE_PATH"
+       start_lttng_sessiond
 
        tests=( test_kernel_before_start )
 
This page took 0.023566 seconds and 4 git commands to generate.