From: David Goulet Date: Thu, 19 Apr 2012 15:03:38 +0000 (-0400) Subject: Fix: test script for kernel module validation X-Git-Tag: v2.1.0-rc1~140 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3f222b3496ec20f62e2eb72e58097966a2850a47;p=lttng-tools.git Fix: test script for kernel module validation Signed-off-by: David Goulet --- diff --git a/tests/kernel/run-kernel-tests.sh b/tests/kernel/run-kernel-tests.sh index 69f6f95c3..f872be514 100755 --- a/tests/kernel/run-kernel-tests.sh +++ b/tests/kernel/run-kernel-tests.sh @@ -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 ""