Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4955675
)
use modprobe instead insmod if modules are loaded already
author
huanghua
<huanghua>
Thu, 28 Sep 2006 11:00:25 +0000
(11:00 +0000)
committer
huanghua
<huanghua>
Thu, 28 Sep 2006 11:00:25 +0000
(11:00 +0000)
lustre/tests/run-llog.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/run-llog.sh
b/lustre/tests/run-llog.sh
index
204eff5
..
15f168e
100644
(file)
--- a/
lustre/tests/run-llog.sh
+++ b/
lustre/tests/run-llog.sh
@@
-6,8
+6,8
@@
MDS=`ls /proc/fs/lustre/mdt | grep -v num_refs | head -n 1`
[ -z "$MDS" ] && echo "no MDS available, skipping llog test" && exit 0
case `uname -r` in
-2.4.*)
insmod ../obdclass/llog_test.o
|| exit 1 ;;
-2.6.*)
insmod ../obdclass/llog_test.ko
|| exit 1 ;;
+2.4.*)
modprobe llog_test
|| exit 1 ;;
+2.6.*)
modprobe llog_test
|| exit 1 ;;
*) echo "unknown kernel version `uname -r`" && exit 99 ;;
esac
lctl modules > $TMP/ogdb-`hostname`