Fix: replace 'modprobe -l' by lsmod in kernel test
authorDavid Goulet <dgoulet@efficios.com>
Mon, 16 Apr 2012 15:37:49 +0000 (11:37 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 16 Apr 2012 15:37:49 +0000 (11:37 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/kernel/run-kernel-tests.sh

index f77c43758091d7cf683f08f0250febc8d0def7f0..69f6f95c30ad14eeb263a78c901dacd37652a45d 100755 (executable)
@@ -37,7 +37,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.033484 seconds and 4 git commands to generate.