Whamcloud - gitweb
b=18623
authorgrev <grev>
Fri, 11 Sep 2009 16:06:21 +0000 (16:06 +0000)
committergrev <grev>
Fri, 11 Sep 2009 16:06:21 +0000 (16:06 +0000)
o=Ed.Giesen
i=grev
move unset ENABLE_QUOTA to after config file read

lustre/tests/sanity-quota.sh

index b5aab76..4ae1102 100644 (file)
@@ -43,8 +43,6 @@ IUNIT_SZ=${IUNIT_SZ:-10}      # min inode quota unit
 MAX_DQ_TIME=604800
 MAX_IQ_TIME=604800
 
-unset ENABLE_QUOTA
-
 TRACE=${TRACE:-""}
 LUSTRE=${LUSTRE:-`dirname $0`/..}
 . $LUSTRE/tests/test-framework.sh
@@ -52,6 +50,8 @@ init_test_env $@
 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 DIRECTIO=${DIRECTIO:-$LUSTRE/tests/directio}
 
+unset ENABLE_QUOTA
+
 remote_mds_nodsh && skip "remote MDS with nodsh" && exit 0
 remote_ost_nodsh && skip "remote OST with nodsh" && exit 0