hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r1031422 - in /hadoop/common/trunk/src/test/bin: test-patch.properties test-patch.sh
Date Fri, 05 Nov 2010 03:48:48 GMT
Author: nigel
Date: Fri Nov  5 03:48:48 2010
New Revision: 1031422

URL: http://svn.apache.org/viewvc?rev=1031422&view=rev
Log:
HADOOP-7008. Fix bug and missing license header in test-patch files. (nigel)

Modified:
    hadoop/common/trunk/src/test/bin/test-patch.properties
    hadoop/common/trunk/src/test/bin/test-patch.sh

Modified: hadoop/common/trunk/src/test/bin/test-patch.properties
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/bin/test-patch.properties?rev=1031422&r1=1031421&r2=1031422&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/bin/test-patch.properties (original)
+++ hadoop/common/trunk/src/test/bin/test-patch.properties Fri Nov  5 03:48:48 2010
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 OK_RELEASEAUDIT_WARNINGS=1
 OK_FINDBUGS_WARNINGS=0
 OK_JAVADOC_WARNINGS=6

Modified: hadoop/common/trunk/src/test/bin/test-patch.sh
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/bin/test-patch.sh?rev=1031422&r1=1031421&r2=1031422&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/bin/test-patch.sh (original)
+++ hadoop/common/trunk/src/test/bin/test-patch.sh Fri Nov  5 03:48:48 2010
@@ -384,7 +384,7 @@ checkReleaseAuditWarnings () {
 
     -1 release audit.  The applied patch generated $patchReleaseAuditWarnings release audit
warnings (more than the trunk's current $OK_RELEASEAUDIT_WARNINGS warnings)."
         $GREP '\!?????' $PATCH_DIR/patchReleaseAuditWarnings.txt > $PATCH_DIR/patchReleaseAuditProblems.txt
-        echo "Lines that start with ????? in the release audit report indicate files that
do not have an Apache license header." > $PATCH_DIR/patchReleaseAuditProblems.txt
+        echo "Lines that start with ????? in the release audit report indicate files that
do not have an Apache license header." >> $PATCH_DIR/patchReleaseAuditProblems.txt
         JIRA_COMMENT_FOOTER="Release audit warnings: $BUILD_URL/artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
 $JIRA_COMMENT_FOOTER"
         return 1



Mime
View raw message