From: David Goulet Date: Mon, 16 Apr 2012 15:37:49 +0000 (-0400) Subject: Fix: replace 'modprobe -l' by lsmod in kernel test X-Git-Tag: v2.1.0-rc1~142 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=84c3304d2e2f8114fee99e7bd394094a30583dba;p=lttng-tools.git Fix: replace 'modprobe -l' by lsmod in kernel test Signed-off-by: David Goulet --- diff --git a/tests/kernel/run-kernel-tests.sh b/tests/kernel/run-kernel-tests.sh index f77c43758..69f6f95c3 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=`modprobe -l | grep lttng` + local out=`lsmod | grep lttng` if [ -z "$out" ]; then echo "LTTng modules not detected. Aborting kernel tests!" echo ""