From: grev Date: Mon, 29 Oct 2007 21:33:43 +0000 (+0000) Subject: b=13534 X-Git-Tag: v1_7_0_51~560 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=ec9fc19d23d2ee251894634f95a71f32bbc43b20;ds=sidebyside b=13534 i=Nathan i=Huanghua test_50 fix for remote mds --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 1124d69..9b8be16 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1061,9 +1061,10 @@ test_48() { run_test 48 "MDS->OSC failure during precreate cleanup (2824)" test_50() { - local oscdev=`grep ${ost1_svc}-osc-MDT0000 $LPROC/devices | awk '{print $1}'` + local oscdev=`do_facet $SINGLEMDS grep ${ost1_svc}-osc-MDT0000 $LPROC/devices | awk '{print $1}'` [ "$oscdev" ] || return 1 - $LCTL --device $oscdev recover && $LCTL --device $oscdev recover + do_facet $SINGLEMDS $LCTL --device $oscdev recover || return 2 + do_facet $SINGLEMDS $LCTL --device $oscdev recover || return 3 # give the mds_lov_sync threads a chance to run sleep 5 }