Fix: test script for kernel module validation
authorDavid Goulet <dgoulet@efficios.com>
Thu, 19 Apr 2012 15:03:38 +0000 (11:03 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 19 Apr 2012 15:03:38 +0000 (11:03 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/kernel/run-kernel-tests.sh

index 69f6f95c30ad14eeb263a78c901dacd37652a45d..f872be5149ea0e50f6b778f7b6f0d9fe454e0480 100755 (executable)
@@ -37,7 +37,7 @@ function start_tests ()
 
 function check_lttng_modules ()
 {
-       local out=`lsmod | 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.026589 seconds and 5 git commands to generate.