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:
9f5069e
)
b=12461
author
nathan
<nathan>
Tue, 29 May 2007 19:39:51 +0000
(19:39 +0000)
committer
nathan
<nathan>
Tue, 29 May 2007 19:39:51 +0000
(19:39 +0000)
better "options lnet" grabbing
lustre/tests/test-framework.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/test-framework.sh
b/lustre/tests/test-framework.sh
index
014248c
..
90c08a4
100644
(file)
--- a/
lustre/tests/test-framework.sh
+++ b/
lustre/tests/test-framework.sh
@@
-105,7
+105,7
@@
load_modules() {
echo Loading modules from $LUSTRE
load_module ../lnet/libcfs/libcfs
[ -z "$LNETOPTS" ] && \
- LNETOPTS=
`awk '/options lnet/ { print $3 }' /etc/modprobe.conf`
+ LNETOPTS=
$(awk '/^options lnet/ { print $0}' /etc/modprobe.conf | sed 's/^options lnet //g')
echo "lnet options: '$LNETOPTS'"
# note that insmod will ignore anything in modprobe.conf
load_module ../lnet/lnet/lnet $LNETOPTS