瀏覽代碼

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

Allen Wittenauer 10 年之前
父節點
當前提交
4402e4c633
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 1
      dev-support/test-patch.sh
  2. 2 0
      hadoop-common-project/hadoop-common/CHANGES.txt

+ 1 - 1
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

+ 2 - 0
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