소스 검색

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

Allen Wittenauer 10 년 전
부모
커밋
b8e4507637
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

@@ -160,6 +160,8 @@ Release 2.8.0 - UNRELEASED
     HADOOP-11898. add nfs3 and portmap starting command in hadoop-daemon.sh
     in branch-2 (brandonli)
 
+    HADOOP-11926. test-patch.sh mv does wrong math (aw)
+
 Release 2.7.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES