From 1ed1fd6b9648bed4a12ac4337897a5e1d74dd2a8 Mon Sep 17 00:00:00 2001 From: deen Date: Fri, 22 Jun 2007 09:08:44 +0000 Subject: [PATCH] Change test to use different file sizes. b=11737 i=adilger i=shadow --- lustre/tests/sanity.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 49ccf68..14f033f 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3132,8 +3132,9 @@ test_78() { # bug 10901 $SETSTRIPE $DIR/$tfile 0 -1 -1 || error "setstripe failed" for i in `seq 1 $NSEQ` do + FSIZE=$(($F78SIZE / ($NSEQ - $i + 1))) echo directIO rdwr round $i of $NSEQ - $DIRECTIO rdwr $DIR/$tfile 0 $F78SIZE 1048576 || error "rdwr failed" + $DIRECTIO rdwr $DIR/$tfile 0 $FSIZE 1048576 || error "rdwr failed" done rm -f $DIR/$tfile -- 1.8.3.1