Browse Source

HADOOP-8839. test-patch's -1 on @author tag presence doesn't cause a -1 to the overall result. Contributed by Harsh J. (harsh)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1391884 13f79535-47bb-0310-9956-ffa450edef68
Harsh J 12 years ago
parent
commit
ab52567d6c
2 changed files with 4 additions and 0 deletions
  1. 1 0
      dev-support/test-patch.sh
  2. 3 0
      hadoop-common-project/hadoop-common/CHANGES.txt

+ 1 - 0
dev-support/test-patch.sh

@@ -914,6 +914,7 @@ if [[ $RESULT != 0 ]] ; then
 fi
 fi
 buildWithPatch
 buildWithPatch
 checkAuthor
 checkAuthor
+(( RESULT = RESULT + $? ))
 
 
 if [[ $JENKINS == "true" ]] ; then
 if [[ $JENKINS == "true" ]] ; then
   cleanUpXml
   cleanUpXml

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -254,6 +254,9 @@ Trunk (Unreleased)
     (default behavior in some bash setups (esp. Ubuntu))
     (default behavior in some bash setups (esp. Ubuntu))
     (Chiristopher Berner and Andy Isaacson via harsh)
     (Chiristopher Berner and Andy Isaacson via harsh)
 
 
+    HADOOP-8839. test-patch's -1 on @author tag presence doesn't cause
+    a -1 to the overall result (harsh)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
     HADOOP-7761. Improve the performance of raw comparisons. (todd)
     HADOOP-7761. Improve the performance of raw comparisons. (todd)