Whamcloud - gitweb
Branch HEAD
authortianzy <tianzy>
Thu, 9 Aug 2007 06:35:44 +0000 (06:35 +0000)
committertianzy <tianzy>
Thu, 9 Aug 2007 06:35:44 +0000 (06:35 +0000)
fix a bug in test_13 in sanity-quota.sh
b=13171
i=green, wangdi

lustre/ChangeLog
lustre/tests/sanity-quota.sh

index efe2229..1409bb6 100644 (file)
@@ -47,6 +47,12 @@ Frequency  : Only for test_10 in sanity-quota.sh
 Description: a bug in quota test code
 Details    : checking a test flag in a wrong place
 
 Description: a bug in quota test code
 Details    : checking a test flag in a wrong place
 
+Severity   : normal
+Bugzilla   : 13171
+Frequency  : Only for test_13 in sanity-quota.sh
+Description: a bug in quota test script
+Details    : shouldn't check overfull allocated quota
+
 --------------------------------------------------------------------------------
 
 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
 --------------------------------------------------------------------------------
 
 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
index 0bde19a..09184c9 100644 (file)
@@ -1043,8 +1043,6 @@ test_13() {
        $SHOW_QUOTA_USER
        [ $((fz + fz2)) -lt $((BUNIT_SZ * BLK_SZ * 10)) ] && \
                error "files too small $fz + $fz < $((BUNIT_SZ * BLK_SZ * 10))"
        $SHOW_QUOTA_USER
        [ $((fz + fz2)) -lt $((BUNIT_SZ * BLK_SZ * 10)) ] && \
                error "files too small $fz + $fz < $((BUNIT_SZ * BLK_SZ * 10))"
-       [ $((fz + fz2)) -gt $((BUNIT_SZ * BLK_SZ * 11)) ] && \
-               error "files too large $fz + $fz > $((BUNIT_SZ * BLK_SZ * 11))"
 
        rm -f $TESTFILE $TESTFILE.2
        
 
        rm -f $TESTFILE $TESTFILE.2