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:05:25 +0000 (11:05 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/lttng/run-kernel-tests.sh

index b1a9057a4685b0e13cd84d006823cb18f7fb6e8f..ed3ae85b740ac0667d44ec1ef34723403e94a558 100755 (executable)
@@ -27,7 +27,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.025629 seconds and 4 git commands to generate.