Whamcloud - gitweb
b=13922
authorgrev <grev>
Tue, 30 Oct 2007 23:16:57 +0000 (23:16 +0000)
committergrev <grev>
Tue, 30 Oct 2007 23:16:57 +0000 (23:16 +0000)
i=Nathan

32a, 32b more remote mds fixes

lustre/tests/conf-sanity.sh

index 2a6a84f..3335e1f 100644 (file)
@@ -1095,7 +1095,8 @@ test_32a() {
         #       devices
         # or maybe this test is just totally useless on a client-only system
        [ "$mds_HOST" = "`hostname`" ] || { skip "remote MDS" && return 0; }
-       [ "$ost1_HOST" = "`hostname`" ] || { skip "remote OST" && return 0; }
+       [ "$ost_HOST" = "`hostname`" -o "$ost1_HOST" = "`hostname`" ] || \
+               { skip "remote OST" && return 0; }
 
         [ -z "$TUNEFS" ] && skip "No tunefs" && return
        local DISK1_4=$LUSTRE/tests/disk1_4.zip
@@ -1158,7 +1159,8 @@ test_32b() {
         #       devices
         # or maybe this test is just totally useless on a client-only system
         [ "$mds_HOST" = "`hostname`" ] || { skip "remote MDS" && return 0; }
-        [ "$ost1_HOST" = "`hostname`" ] || { skip "remote OST" && return 0; }
+        [ "$ost_HOST" = "`hostname`" -o "$ost1_HOST" = "`hostname`" ] || \
+               { skip "remote OST" && return 0; }
 
         [ -z "$TUNEFS" ] && skip "No tunefs" && return
        local DISK1_4=$LUSTRE/tests/disk1_4.zip