From: zhanghc Date: Mon, 16 Nov 2009 10:29:37 +0000 (+0000) Subject: b=16818 X-Git-Tag: v1_8_1_54~1^2~1 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=96d86341b60f4475a0dbf6aad0d9065fb87378f2;p=fs%2Flustre-release.git b=16818 fix a bug in previous patch i=andrew.perepechko --- diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 44c2aaa..4a8a6f8 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -686,7 +686,7 @@ test_26a() { # was test_26 bug 5921 - evict dead exports by pinger remote_ost_nodsh && skip "remote OST with nodsh" && return 0 remote_mds || { skip "local MDS" && return 0; } - if [ $(facet_host mgs) -eq $(facet_host ost1) ]; then + if [ $(facet_host mgs) = $(facet_host ost1) ]; then skip "mgs and ost1 are at the same node" return 0 fi @@ -713,7 +713,7 @@ run_test 26a "evict dead exports" test_26b() { # bug 10140 - evict dead exports by pinger remote_ost_nodsh && skip "remote OST with nodsh" && return 0 - if [ $(facet_host mgs) -eq $(facet_host ost1) ]; then + if [ $(facet_host mgs) = $(facet_host ost1) ]; then skip "mgs and ost1 are at the same node" return 0 fi