hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1299893 - /hbase/branches/0.94/dev-support/test-patch.sh
Date Mon, 12 Mar 2012 21:49:49 GMT
Author: stack
Date: Mon Mar 12 21:49:49 2012
New Revision: 1299893

URL: http://svn.apache.org/viewvc?rev=1299893&view=rev
Log:
HBASE-5567 test-patch.sh has logic error in findbugs check

Modified:
    hbase/branches/0.94/dev-support/test-patch.sh

Modified: hbase/branches/0.94/dev-support/test-patch.sh
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/dev-support/test-patch.sh?rev=1299893&r1=1299892&r2=1299893&view=diff
==============================================================================
--- hbase/branches/0.94/dev-support/test-patch.sh (original)
+++ hbase/branches/0.94/dev-support/test-patch.sh Mon Mar 12 21:49:49 2012
@@ -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."



Mime
View raw message