3 SESSIOND_BIN
="lttng-sessiond"
7 source $TESTDIR/utils.sh
10 tests
=( $CURDIR/kernel_event_basic
$CURDIR/kernel_all_events_basic
)
13 function start_tests
()
15 for bin
in ${tests[@]};
17 if [ ! -e $bin ]; then
18 echo -e "$bin not found, passing"
25 # Test must return 0 to pass.
38 function check_lttng_modules
()
40 local out
=`ls /lib/modules/$(uname -r)/extra | grep lttng`
41 if [ -z "$out" ]; then
42 echo "LTTng modules not detected. Aborting kernel tests!"
44 # Exit status 0 so the tests can continue
50 TEST_DESC
="Testing Kernel tracer"
52 print_test_banner
"$TEST_DESC"
54 # Detect lttng-modules installed
This page took 0.029637 seconds and 4 git commands to generate.