From 7b91c84efcc4956687becfaf108fc421696c8ae6 Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Fri, 7 May 2010 20:07:54 +0400 Subject: [PATCH] b=22581 LOADS env var in ncli.sh should allow overwrite i=Minh.Diep --- lustre/tests/cfg/ncli.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- 1.8.3.1