Author: gkesavan
Date: Tue Nov 3 22:53:08 2009
New Revision: 832590
URL: http://svn.apache.org/viewvc?rev=832590&view=rev
Log:
HADOOP-6341. Fix test-patch.sh for checkTests function. ( gkesavan )
Modified:
hadoop/common/trunk/CHANGES.txt
hadoop/common/trunk/src/test/bin/test-patch.sh
Modified: hadoop/common/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=832590&r1=832589&r2=832590&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Tue Nov 3 22:53:08 2009
@@ -37,6 +37,8 @@
HADOOP-6293. Fix FsShell -text to work on filesystems other than the
default. (cdouglas)
+ HADOOP-6341. Fix test-patch.sh for checkTests function. (gkesavan)
+
Release 0.21.0 - Unreleased
INCOMPATIBLE CHANGES
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=832590&r1=832589&r2=832590&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/bin/test-patch.sh (original)
+++ hadoop/common/trunk/src/test/bin/test-patch.sh Tue Nov 3 22:53:08 2009
@@ -690,10 +690,10 @@
checkAuthor
RESULT=$?
-checkTests
if [[ $HUDSON == "true" ]] ; then
cleanUpXml
fi
+checkTests
(( RESULT = RESULT + $? ))
applyPatch
if [[ $? != 0 ]] ; then