Whamcloud - gitweb
b=16293
authorgrev <grev>
Thu, 17 Jul 2008 07:48:16 +0000 (07:48 +0000)
committergrev <grev>
Thu, 17 Jul 2008 07:48:16 +0000 (07:48 +0000)
i=Adilger
force replay-ost-single test_5 to be skipped (not pass) if iozone missing;
add it to SLOW list

lustre/tests/replay-ost-single.sh

index 794d5b0..1b1c5e8 100755 (executable)
@@ -22,7 +22,7 @@ CPU=`awk '/model/ {print $4}' /proc/cpuinfo`
 ALWAYS_EXCEPT="$REPLAY_OST_SINGLE_EXCEPT"
 
 #                                      
-[ "$SLOW" = "no" ] && EXCEPT_SLOW=""
+[ "$SLOW" = "no" ] && EXCEPT_SLOW="5"
 
 # It is replay-ost-single, after all
 OSTCOUNT=1
@@ -97,7 +97,7 @@ test_4() {
 run_test 4 "Fail OST during read, with verification"
 
 test_5() {
-    [ -z "`which iozone 2> /dev/null`" ] && log "iozone missing" && return
+    [ -z "`which iozone 2> /dev/null`" ] && skip "iozone missing" && return 0
     FREE=`df -P $DIR | tail -n 1 | awk '{ print $4/2 }'`
     GB=1048576  # 1048576KB == 1GB
     if (( FREE > GB )); then