Author: rkanter
Date: Mon Feb  4 17:57:08 2013
New Revision: 1442211

URL: http://svn.apache.org/viewvc?rev=1442211&view=rev
Log:
OOZIE-998 test-patch doesn't allow lines that are exactly 132 characters 
(rkanter via tucu)

Modified:
    oozie/branches/branch-3.3/bin/test-patch-05-patch-raw-analysis
    oozie/branches/branch-3.3/release-log.txt

Modified: oozie/branches/branch-3.3/bin/test-patch-05-patch-raw-analysis
URL: 
http://svn.apache.org/viewvc/oozie/branches/branch-3.3/bin/test-patch-05-patch-raw-analysis?rev=1442211&r1=1442210&r2=1442211&view=diff
==============================================================================
--- oozie/branches/branch-3.3/bin/test-patch-05-patch-raw-analysis (original)
+++ oozie/branches/branch-3.3/bin/test-patch-05-patch-raw-analysis Mon Feb  4 
17:57:08 2013
@@ -101,7 +101,8 @@ checkNoTrailingSpaces() {
 }
 ###############################################################################
 checkLinesLength() {
-  longLines=`grep "^+ " ${PATCHFILE} | awk 'BEGIN{count=0}{if ( length > 132 ) 
{ count=count+1} }END{ print count}'`
+  # We check for > 133 to account for the "+" sign
+  longLines=`grep "^+ " ${PATCHFILE} | awk 'BEGIN{count=0}{if ( length > 133 ) 
{ count=count+1} }END{ print count}'`
   if [[ ${longLines} != 0 ]] ; then
     REPORT+=("-1 the patch contains ${longLines} line(s) longer than 132 
characters")
   else

Modified: oozie/branches/branch-3.3/release-log.txt
URL: 
http://svn.apache.org/viewvc/oozie/branches/branch-3.3/release-log.txt?rev=1442211&r1=1442210&r2=1442211&view=diff
==============================================================================
--- oozie/branches/branch-3.3/release-log.txt (original)
+++ oozie/branches/branch-3.3/release-log.txt Mon Feb  4 17:57:08 2013
@@ -1,5 +1,6 @@
 -- Oozie 3.3.2 (unreleased)
 
+OOZIE-998 test-patch doesn't allow lines that are exactly 132 characters 
(rkanter via tucu)
 OOZIE-739 a coord action fails because the uri points to a namenode that is 
not in whitelist. the E0901 error shows in the oozie.log, but not written to 
the database (mona,mbattisha via virag)
 OOZIE-987 Fix minor bug in one of the uber jar tests (rkanter via tucu)
 OOZIE-988 Improve verification of TestJavaActionExecutor.testLibFileArchives 
(rkanter via tucu)


Reply via email to