From 0e4ec34fb67a1c7f79810de437ab22f496ecd430 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 16 Apr 2012 11:35:34 -0400 Subject: [PATCH] Fix: replace 'modprobe -l' by lsmod in kernel test The -l option does not exist anymore on recent version of modprobe. Use lsmod instead. Signed-off-by: David Goulet --- tests/lttng/run-kernel-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lttng/run-kernel-tests.sh b/tests/lttng/run-kernel-tests.sh index d5a41382b..b1a9057a4 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=`modprobe -l | grep lttng` + local out=`lsmod | grep lttng` if [ -z "$out" ]; then echo "LTTng modules not detected. Aborting kernel tests!" echo "" -- 2.34.1