From 96d86341b60f4475a0dbf6aad0d9065fb87378f2 Mon Sep 17 00:00:00 2001 From: zhanghc Date: Mon, 16 Nov 2009 10:29:37 +0000 Subject: [PATCH] b=16818 fix a bug in previous patch i=andrew.perepechko --- lustre/tests/recovery-small.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.3.1