Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / tests / sanity-quota.sh
index 740ce41..634ecf1 100644 (file)
@@ -49,6 +49,7 @@ init_test_env $@
 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 DIRECTIO=${DIRECTIO:-$LUSTRE/tests/directio}
 
+[ $MDSCOUNT -gt 1 ] && skip "CMD case" && exit 0
 remote_mds_nodsh && skip "remote MDS with nodsh" && exit 0
 remote_ost_nodsh && skip "remote OST with nodsh" && exit 0
 
@@ -1340,11 +1341,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)) ] && \
@@ -1397,12 +1393,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