Fix: replace 'modprobe -l' by lsmod in kernel test
[lttng-tools.git] / tests / lttng / run-kernel-tests.sh
index d5a41382b010cd5dbc7b37142dc529af1bd1f9a5..b1a9057a4685b0e13cd84d006823cb18f7fb6e8f 100755 (executable)
@@ -27,7 +27,7 @@ function start_tests ()
 
 function check_lttng_modules ()
 {
-       local out=`modprobe -l | grep lttng`
+       local out=`lsmod | grep lttng`
        if [ -z "$out" ]; then
                echo "LTTng modules not detected. Aborting kernel tests!"
                echo ""
This page took 0.023511 seconds and 4 git commands to generate.