From 50b08d5c7b61c82d6b6a9898c03f426e6dd3b3c3 Mon Sep 17 00:00:00 2001 From: green Date: Mon, 3 May 2004 19:33:40 +0000 Subject: [PATCH] Updated to HEAD --- lustre/tests/acceptance-small.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/acceptance-small.sh b/lustre/tests/acceptance-small.sh index f10da1d..1387cf3 100755 --- a/lustre/tests/acceptance-small.sh +++ b/lustre/tests/acceptance-small.sh @@ -40,7 +40,7 @@ for NAME in $CONFIGS; do if [ "$DBENCH" != "no" ]; then mount | grep $MOUNT || sh llmount.sh - SPACE=`df $MOUNT | tail -1 | awk '{ print $4 }'` + SPACE=`df $MOUNT | tail -n 1 | awk '{ print $4 }'` DB_THREADS=`expr $SPACE / 50000` [ $THREADS -lt $DB_THREADS ] && DB_THREADS=$THREADS @@ -82,7 +82,7 @@ for NAME in $CONFIGS; do fi if [ "$IOZONE_DIR" != "no" ]; then mount | grep $MOUNT || sh llmount.sh - SPACE=`df $MOUNT | tail -1 | awk '{ print $4 }'` + SPACE=`df $MOUNT | tail -n 1 | awk '{ print $4 }'` IOZ_THREADS=`expr $SPACE / \( $SIZE + $SIZE / 512 \)` [ $THREADS -lt $IOZ_THREADS ] && IOZ_THREADS=$THREADS -- 1.8.3.1