Whamcloud - gitweb
Branch b1_6
authortianzy <tianzy>
Tue, 25 Nov 2008 05:59:05 +0000 (05:59 +0000)
committertianzy <tianzy>
Tue, 25 Nov 2008 05:59:05 +0000 (05:59 +0000)
fix "should take longer" problem of test_18 of sanity-quota.sh
b=17773
i=johann
i=panda

lustre/tests/sanity-quota.sh

index e8f59bc..967f485 100644 (file)
@@ -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