From 7d3ca089df3483440fc35964361e77773be4daf8 Mon Sep 17 00:00:00 2001
From: tianzy <tianzy>
Date: Thu, 9 Aug 2007 06:35:44 +0000
Subject: [PATCH] Branch 	HEAD fix a bug in test_13 in sanity-quota.sh
 b=13171 i=green, wangdi

---
 lustre/ChangeLog             | 6 ++++++
 lustre/tests/sanity-quota.sh | 2 --
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/lustre/ChangeLog b/lustre/ChangeLog
index efe2229b79..1409bb6bbc 100644
--- a/lustre/ChangeLog
+++ b/lustre/ChangeLog
@@ -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
 
+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>
diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh
index 0bde19a5a3..09184c96e9 100644
--- a/lustre/tests/sanity-quota.sh
+++ b/lustre/tests/sanity-quota.sh
@@ -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))"
-	[ $((fz + fz2)) -gt $((BUNIT_SZ * BLK_SZ * 11)) ] && \
-		error "files too large $fz + $fz > $((BUNIT_SZ * BLK_SZ * 11))"
 
 	rm -f $TESTFILE $TESTFILE.2
 	
-- 
GitLab