Whamcloud - gitweb
Branch b1_8_gate
authorzhanghc <zhanghc>
Mon, 27 Oct 2008 07:39:22 +0000 (07:39 +0000)
committerzhanghc <zhanghc>
Mon, 27 Oct 2008 07:39:22 +0000 (07:39 +0000)
handle the problem of test_120a in sanity.sh - "1 cancel RPC occured"

b=14502
i=adilger
i=grev

lustre/tests/sanity.sh

index c8a97eb..8e87450 100644 (file)
@@ -4774,7 +4774,7 @@ test_120a() {
         stat $DIR/$tdir > /dev/null
         can1=`lctl get_param -n ldlm.services.ldlm_canceld.stats | awk '/ldlm_cancel/ {print $2}'`
         blk1=`lctl get_param -n ldlm.services.ldlm_cbd.stats | awk '/ldlm_bl_callback/ {print $2}'`
-        mkdir -p $DIR/$tdir/d1
+        mkdir $DIR/$tdir/d1
         can2=`lctl get_param -n ldlm.services.ldlm_canceld.stats | awk '/ldlm_cancel/ {print $2}'`
         blk2=`lctl get_param -n ldlm.services.ldlm_cbd.stats | awk '/ldlm_bl_callback/ {print $2}'`
         [ $can1 -eq $can2 ] || error $((can2-can1)) "cancel RPC occured."