. ${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
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)) ] && \
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