From 2314945b8b9e9da1073c2fa31bf547b8c6fa7bdd Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Mon, 12 Mar 2012 21:49:37 +0000 Subject: [PATCH] HBASE-5567 test-patch.sh has logic error in findbugs check git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1299892 13f79535-47bb-0310-9956-ffa450edef68 --- dev-support/test-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 0f77de4adb0..bdef3ab6a4f 100644 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -545,7 +545,7 @@ $JIRA_COMMENT_FOOTER" done ### if current warnings greater than OK_FINDBUGS_WARNINGS - if [[ $findbugsWarnings > $OK_FINDBUGS_WARNINGS ]] ; then + if [[ $findbugsWarnings -gt $OK_FINDBUGS_WARNINGS ]] ; then JIRA_COMMENT="$JIRA_COMMENT -1 findbugs. The patch appears to introduce `expr $(($findbugsWarnings-$OK_FINDBUGS_WARNINGS))` new Findbugs (version ${findbugs_version}) warnings."