projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a88b4be
)
Fix: replace 'modprobe -l' by lsmod in kernel test
author
David Goulet
<dgoulet@efficios.com>
Mon, 16 Apr 2012 15:35:34 +0000
(11:35 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Mon, 16 Apr 2012 15:35:34 +0000
(11:35 -0400)
The -l option does not exist anymore on recent version of modprobe. Use
lsmod instead.
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/lttng/run-kernel-tests.sh
patch
|
blob
|
blame
|
history
diff --git
a/tests/lttng/run-kernel-tests.sh
b/tests/lttng/run-kernel-tests.sh
index d5a41382b010cd5dbc7b37142dc529af1bd1f9a5..b1a9057a4685b0e13cd84d006823cb18f7fb6e8f 100755
(executable)
--- 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 ""
This page took
0.025265 seconds
and
4
git commands to generate.