You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aw...@apache.org on 2015/05/06 02:01:49 UTC

hadoop git commit: HADOOP-11926. test-patch.sh mv does wrong math (aw)

Repository: hadoop
Updated Branches:
  refs/heads/trunk 4da8490b5 -> 4402e4c63


HADOOP-11926. test-patch.sh mv does wrong math (aw)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4402e4c6
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4402e4c6
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4402e4c6

Branch: refs/heads/trunk
Commit: 4402e4c633808556d49854df45683688b6a9ce84
Parents: 4da8490
Author: Allen Wittenauer <aw...@apache.org>
Authored: Tue May 5 17:01:42 2015 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Tue May 5 17:01:42 2015 -0700

----------------------------------------------------------------------
 dev-support/test-patch.sh                       | 2 +-
 hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4402e4c6/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index 3759e9f..d2f0244 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -2262,7 +2262,7 @@ function cleanup_and_exit
         # Jenkins or whatever already knows where it is at
         # since it told us to put it there!
         relative_patchdir >/dev/null
-        if [[ $? == 0 ]]; then
+        if [[ $? == 1 ]]; then
           hadoop_debug "mv ${PATCH_DIR} ${BASEDIR}"
           mv "${PATCH_DIR}" "${BASEDIR}"
         fi

http://git-wip-us.apache.org/repos/asf/hadoop/blob/4402e4c6/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 1b33b37..9353862 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -610,6 +610,8 @@ Release 2.8.0 - UNRELEASED
     HADOOP-11904. test-patch.sh goes into an infinite loop on non-maven
     builds (aw)
 
+    HADOOP-11926. test-patch.sh mv does wrong math (aw)
+
 Release 2.7.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES