summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bugs/bug-961307.t14
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/bugs/bug-961307.t b/tests/bugs/bug-961307.t
index 96e93a56f8d..9775c3ad0c9 100644
--- a/tests/bugs/bug-961307.t
+++ b/tests/bugs/bug-961307.t
@@ -16,17 +16,5 @@ TEST $CLI volume start $V0
var1=$(gluster volume remove-brick $H0:$B0/${V0}-00 $H0:$B0/${V0}-01 start 2>&1)
var2="volume remove-brick start: failed: Volume $H0:$B0/${V0}-00 does not exist"
-
-function compare_string()
-{
- val="-1"
- if [ "$1" == "$2" ]; then
- val="0"
- else
- val="1"
- fi
- echo $val
-}
-
-EXPECT 0 compare_string "$var1" "$var2"
+EXPECT "$var2" echo "$var1"
cleanup;