Fix: test script for kernel module validation
[lttng-tools.git] / tests / lttng / run-kernel-tests.sh
index d5a41382b010cd5dbc7b37142dc529af1bd1f9a5..ed3ae85b740ac0667d44ec1ef34723403e94a558 100755 (executable)
@@ -27,7 +27,7 @@ function start_tests ()
 
 function check_lttng_modules ()
 {
-       local out=`modprobe -l | grep lttng`
+       local out=`ls /lib/modules/$(uname -r)/extra | grep lttng`
        if [ -z "$out" ]; then
                echo "LTTng modules not detected. Aborting kernel tests!"
                echo ""
This page took 0.025277 seconds and 4 git commands to generate.