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.0.1~1 X-Git-Url: http://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=67702a07d8880ec0c5dadd7b28596eeb72b45295 Fix: test script for kernel module validation Signed-off-by: David Goulet --- diff --git a/tests/lttng/run-kernel-tests.sh b/tests/lttng/run-kernel-tests.sh index b1a9057a4..ed3ae85b7 100755 --- a/tests/lttng/run-kernel-tests.sh +++ b/tests/lttng/run-kernel-tests.sh @@ -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 ""