From c29c74428bac402ea240d9949c3de1d7c8b4aeb5 Mon Sep 17 00:00:00 2001
From: grev <grev>
Date: Tue, 30 Oct 2007 23:16:57 +0000
Subject: [PATCH] b=13922 i=Nathan

32a, 32b more remote mds fixes
---
 lustre/tests/conf-sanity.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh
index 2a6a84f8ef..3335e1fda0 100644
--- a/lustre/tests/conf-sanity.sh
+++ b/lustre/tests/conf-sanity.sh
@@ -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
-- 
GitLab