Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
landing b_cmobd_merge on HEAD
[fs/lustre-release.git]
/
lustre
/
tests
/
run-llog.sh
diff --git
a/lustre/tests/run-llog.sh
b/lustre/tests/run-llog.sh
index
5d46e2b
..
b7201f2
100644
(file)
--- a/
lustre/tests/run-llog.sh
+++ b/
lustre/tests/run-llog.sh
@@
-2,7
+2,7
@@
PATH=`dirname $0`:`dirname $0`/../utils:$PATH
TMP=${TMP:-/tmp}
PATH=`dirname $0`:`dirname $0`/../utils:$PATH
TMP=${TMP:-/tmp}
-MDS=`ls /proc/fs/lustre/mds | grep -v num_refs | head -1`
+MDS=`ls /proc/fs/lustre/mds | grep -v num_refs | head -
n
1`
[ -z "$MDS" ] && echo "no MDS available, skipping llog test" && exit 0
insmod ../obdclass/llog_test.o || exit 1
[ -z "$MDS" ] && echo "no MDS available, skipping llog test" && exit 0
insmod ../obdclass/llog_test.o || exit 1