Skip to content
Snippets Groups Projects
Commit 7d3ca089 authored by tianzy's avatar tianzy
Browse files

Branch HEAD

fix a bug in test_13 in sanity-quota.sh
b=13171
i=green, wangdi
parent 453e1cee
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,12 @@ Frequency : Only for test_10 in sanity-quota.sh ...@@ -47,6 +47,12 @@ Frequency : Only for test_10 in sanity-quota.sh
Description: a bug in quota test code Description: a bug in quota test code
Details : checking a test flag in a wrong place 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>
......
...@@ -1043,8 +1043,6 @@ test_13() { ...@@ -1043,8 +1043,6 @@ test_13() {
$SHOW_QUOTA_USER $SHOW_QUOTA_USER
[ $((fz + fz2)) -lt $((BUNIT_SZ * BLK_SZ * 10)) ] && \ [ $((fz + fz2)) -lt $((BUNIT_SZ * BLK_SZ * 10)) ] && \
error "files too small $fz + $fz < $((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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment