From: Elena Gryaznova Date: Tue, 11 May 2010 10:10:11 +0000 (+0400) Subject: b=22581 LOADS env var in ncli.sh should allow overwrite X-Git-Tag: v1_8_3_51~53 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=68d6e2801408b25e79b183d5b772878758aac7fd;p=fs%2Flustre-release.git b=22581 LOADS env var in ncli.sh should allow overwrite i=Minh.Diep --- diff --git a/lustre/tests/cfg/ncli.sh b/lustre/tests/cfg/ncli.sh index 2bd0618..2249dd1 100644 --- a/lustre/tests/cfg/ncli.sh +++ b/lustre/tests/cfg/ncli.sh @@ -15,5 +15,9 @@ init_clients_lists # default boulder cluster iozone location export PATH=/opt/iozone/bin:$PATH SHARED_DIRECTORY=${SHARED_DIRECTORY:-""} # bug 17839 comment 65 -LOADS="dd tar dbench iozone" +LOADS=${LOADS:-"dd tar dbench iozone"} +for i in $LOADS; do + [ -f $LUSTRE/tests/run_${i}.sh ] || \ + error "incorrect load: $i" +done CLIENT_LOADS=($LOADS)