3 SESSIOND_BIN
="lttng-sessiond"
4 TESTDIR
=$
(dirname $0)/..
6 source $TESTDIR/utils.sh
9 tests
=( kernel_event_basic kernel_all_events_basic
)
12 function start_tests
()
14 for bin
in ${tests[@]};
17 # Test must return 0 to pass.
28 function check_lttng_modules
()
30 local out
=`modprobe -l | grep lttng`
31 if [ -z "$out" ]; then
32 echo "LTTng modules not detected. Aborting kernel tests!"
34 # Exit status 0 so the tests can continue
39 echo -e "\n--------------------------------------------------"
40 echo -e "Kernel tracer - Testing lttng client (liblttngctl)"
41 echo -e "--------------------------------------------------"
43 # Detect lttng-modules installed
47 # Simply wait for the session daemon bootstrap