diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 2a6a84f8ef79e7f98d112c9de31648702ebbf4c0..3335e1fda05d8bd07cbd3d880703444010abdac7 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