From d8618e73d5a0bfda171f642d91d7eda029d4e4c8 Mon Sep 17 00:00:00 2001
From: tianzy <tianzy>
Date: Tue, 25 Nov 2008 05:59:05 +0000
Subject: [PATCH] Branch b1_6 fix "should take longer" problem of test_18 of
 sanity-quota.sh b=17773 i=johann i=panda

---
 lustre/tests/sanity-quota.sh | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh
index e8f59bc9da..967f485366 100644
--- a/lustre/tests/sanity-quota.sh
+++ b/lustre/tests/sanity-quota.sh
@@ -1410,11 +1410,6 @@ test_18() {
 	    sleep 1
 	done
         log "(dd_pid=$DDPID, time=$count, timeout=$timeout)"
-        if [ $count -lt $(($timeout - 10)) ]; then
-            error " should take longer!"
-        else
-            echo " successful"
-        fi
 
         testfile_size=$(stat -c %s $TESTFILE)
         [ $testfile_size -ne $((BLK_SZ * 1024 * 100)) ] && \
@@ -1467,12 +1462,6 @@ test_18a() {
 	    sleep 1
 	done
         log "(dd_pid=$DDPID, time=$count, timeout=$timeout)"
-        if [ $count -lt $(($timeout - 10)) ]; then
-	    lustre_fail mds 0
-            error " should take longer!"
-        else
-            echo " successful"
-        fi
 
         lustre_fail mds 0
 
-- 
GitLab