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:
5019f35
)
b=14054
author
grev
<grev>
Wed, 21 Nov 2007 20:46:27 +0000
(20:46 +0000)
committer
grev
<grev>
Wed, 21 Nov 2007 20:46:27 +0000
(20:46 +0000)
i=Nathan
force runtests to use 1 mount point
lustre/tests/runtests
patch
|
blob
|
history
diff --git
a/lustre/tests/runtests
b/lustre/tests/runtests
index
2d702f5
..
31571f3
100755
(executable)
--- a/
lustre/tests/runtests
+++ b/
lustre/tests/runtests
@@
-40,11
+40,7
@@
while [ "$1" ]; do
shift
done
shift
done
-mounted_lustre_filesystems() {
- awk '($3 ~ "lustre" && $1 ~ ":") { print $2 }' /proc/mounts
-}
-
-MOUNTED="`mounted_lustre_filesystems`"
+MOUNTED=$(mounted_lustre_filesystems | head -1)
if [ -z "$MOUNTED" ]; then
formatall
setupall
if [ -z "$MOUNTED" ]; then
formatall
setupall