fix a bug in test_13 in sanity-quota.sh
b=13171
i=green, wangdi
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>
$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