From 7455768c8378d175728837e21dcbddec4dad2b50 Mon Sep 17 00:00:00 2001
From: scjody <scjody>
Date: Thu, 30 Aug 2007 00:54:32 +0000
Subject: [PATCH] Branch b1_6

Fix ONLY variable handling

b=12499
i=brian
i=adilger
---
 lustre/tests/acceptance-small.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lustre/tests/acceptance-small.sh b/lustre/tests/acceptance-small.sh
index 8dbc630eaf..6f4e42580e 100755
--- a/lustre/tests/acceptance-small.sh
+++ b/lustre/tests/acceptance-small.sh
@@ -25,15 +25,14 @@ fi
 [ "$DEBUG_OFF" ] || DEBUG_OFF="eval sysctl -w lnet.debug=\"$DEBUG_LVL\""
 [ "$DEBUG_ON" ] || DEBUG_ON="eval sysctl -w lnet.debug=0x33f0484"
 
-if [ "$ONLY" ]; then
+if [ "$ACC_SM_ONLY" ]; then
     export RUNTESTS="no" SANITY="no" DBENCH="no" BONNIE="no" IOZONE="no" FSX="no" SANITYN="no" LFSCK="no" LIBLUSTRE="no" REPLAY_SINGLE="no" CONF_SANITY="no" RECOVERY_SMALL="no" REPLAY_OST_SINGLE="no" REPLAY_DUAL="no" INSANITY="no" SANITY_QUOTA="no"
-    for O in $ONLY; do
+    for O in $ACC_SM_ONLY; do
+	O=`echo $O | tr "[:lower:]" "[:upper:]"`
 	export ${O}="yes"
     done
-    export ONLY=""
 fi
 
-
 LIBLUSTRETESTS=${LIBLUSTRETESTS:-../liblustre/tests}
 
 STARTTIME=`date +%s`
-- 
GitLab