Whamcloud - gitweb
b=14054
authorgrev <grev>
Wed, 21 Nov 2007 20:46:27 +0000 (20:46 +0000)
committergrev <grev>
Wed, 21 Nov 2007 20:46:27 +0000 (20:46 +0000)
i=Nathan

force runtests to use 1 mount point

lustre/tests/runtests

index 2d702f5..31571f3 100755 (executable)
@@ -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