Whamcloud - gitweb
b=16551
authorgrev <grev>
Fri, 31 Oct 2008 16:10:13 +0000 (16:10 +0000)
committergrev <grev>
Fri, 31 Oct 2008 16:10:13 +0000 (16:10 +0000)
o=Robert.Read
i=grev
test_27u fix

lustre/tests/sanity.sh

index 656f847..8982ca6 100644 (file)
@@ -1039,15 +1039,15 @@ test_27t() { # bug 10864
 run_test 27t "check that utils parse path correctly"
 
 test_27u() { # bug 4900
-       [ "$OSTCOUNT" -lt "2" ] && skip "too few OSTs" && return
-        remote_ost_nodsh && skip "remote OST with nodsh" && return
+        [ "$OSTCOUNT" -lt "2" ] && skip "too few OSTs" && return
+        remote_mds_nodsh && skip "remote MDS with nodsh" && return
 
         #define OBD_FAIL_MDS_OSC_PRECREATE      0x139
 
-        lctl set_param fail_loc=0x139
+        do_facet mds lctl set_param fail_loc=0x139
         mkdir -p $DIR/d27u
         createmany -o $DIR/d27u/t- 1000
-        lctl set_param fail_loc=0
+        do_facet mds lctl set_param fail_loc=0
 
         TLOG=$DIR/$tfile.getstripe
         $GETSTRIPE $DIR/d27u > $TLOG