From: grev Date: Wed, 21 Nov 2007 21:20:05 +0000 (+0000) Subject: b=14054 X-Git-Tag: v1_8_0_110~968 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=7686b627523db93d8216bf28f607e6731f3816fe;p=fs%2Flustre-release.git b=14054 i=Nathan force runtests to use 1 mount point --- diff --git a/lustre/tests/runtests b/lustre/tests/runtests index 2d702f5..31571f3 100755 --- a/lustre/tests/runtests +++ b/lustre/tests/runtests @@ -40,11 +40,7 @@ while [ "$1" ]; do 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