From f65490c5d87c4282717b7f28cfcd1fe9380c6154 Mon Sep 17 00:00:00 2001 From: Atin Mukherjee Date: Wed, 3 Jun 2015 10:40:36 +0530 Subject: tests: fix spurious failure in bug-857330/xml.t get-task-status () used to always return 0 *until and unless* the CLI command itself fails which is unlikely. However if the CLI command fails due to some reason EXPECT_WITHIN will abort. Change-Id: Ibe54dcdccc26b3ee003677fc3516cfed98b5c06f BUG: 1227590 Signed-off-by: Atin Mukherjee Reviewed-on: http://review.gluster.org/11054 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Krishnan Parthasarathi --- tests/bugs/cli/bug-1077682.t | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests/bugs/cli') diff --git a/tests/bugs/cli/bug-1077682.t b/tests/bugs/cli/bug-1077682.t index 6b6d71eeb46..eab5d86d04b 100644 --- a/tests/bugs/cli/bug-1077682.t +++ b/tests/bugs/cli/bug-1077682.t @@ -3,16 +3,6 @@ . $(dirname $0)/../../include.rc . $(dirname $0)/../../volume.rc -function get-task-status() -{ - $CLI $COMMAND | grep -o $PATTERN - if [ ${PIPESTATUS[0]} -ne 0 ]; - then - return 1 - fi - return 0 -} - cleanup; TEST glusterd -- cgit