From d04201683afdc4e780d50385c101d05a656090ea Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Mon, 12 Mar 2012 20:19:25 +0000 Subject: [PATCH] HBASE-5562 test-patch.sh reports a javadoc warning when there are no new javadoc warnings git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1299824 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 efa1fc795ed..0f77de4adb0 100644 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -366,7 +366,7 @@ checkJavadocWarnings () { echo "There appear to be $javadocWarnings javadoc warnings generated by the patched build." ### if current warnings greater than OK_JAVADOC_WARNINGS - if [[ $javadocWarnings > $OK_JAVADOC_WARNINGS ]] ; then + if [[ $javadocWarnings -gt $OK_JAVADOC_WARNINGS ]] ; then JIRA_COMMENT="$JIRA_COMMENT -1 javadoc. The javadoc tool appears to have generated `expr $(($javadocWarnings-$OK_JAVADOC_WARNINGS))` warning messages."