From af59233ce10a96baf824ca4b0184889b32ddd950 Mon Sep 17 00:00:00 2001 From: Giridharan Kesavan Date: Tue, 3 Nov 2009 22:53:08 +0000 Subject: [PATCH] HADOOP-6341. Fix test-patch.sh for checkTests function. ( gkesavan ) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@832590 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 2 ++ src/test/bin/test-patch.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 532f4ff42e..50362cde83 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -37,6 +37,8 @@ Trunk (unreleased changes) 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 diff --git a/src/test/bin/test-patch.sh b/src/test/bin/test-patch.sh index 86e7da7be0..8741f116af 100755 --- a/src/test/bin/test-patch.sh +++ b/src/test/bin/test-patch.sh @@ -690,10 +690,10 @@ setup checkAuthor RESULT=$? -checkTests if [[ $HUDSON == "true" ]] ; then cleanUpXml fi +checkTests (( RESULT = RESULT + $? )) applyPatch if [[ $? != 0 ]] ; then