Whamcloud - gitweb
b=18623
authorgrev <grev>
Thu, 10 Sep 2009 10:23:54 +0000 (10:23 +0000)
committergrev <grev>
Thu, 10 Sep 2009 10:23:54 +0000 (10:23 +0000)
o=Ed.Giesen
i=grev
move unset ENABLE_QUOTA to after config file read

lustre/tests/sanity-quota.sh

index 7cfbb8c..3375133 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
@@ -53,6 +51,9 @@ init_test_env $@
 DIRECTIO=${DIRECTIO:-$LUSTRE/tests/directio}
 
 [ $MDSCOUNT -gt 1 ] && skip "CMD case" && exit 0
+
+unset ENABLE_QUOTA
+
 remote_mds_nodsh && skip "remote MDS with nodsh" && exit 0
 remote_ost_nodsh && skip "remote OST with nodsh" && exit 0