From 147e020c7aef3ba42eddcef3be1b4ae7c7910371 Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Tue, 30 Jun 2015 11:31:26 -0700 Subject: [PATCH] HADOOP-12149. copy all of test-patch BINDIR prior to re-exec (aw) --- dev-support/test-patch.sh | 4 ++-- hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index cd91a5c8cd..efcd614207 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -1521,8 +1521,8 @@ function check_reexec cd "${CWD}" mkdir -p "${PATCH_DIR}/dev-support-test" - cp -pr "${BASEDIR}"/dev-support/test-patch* "${PATCH_DIR}/dev-support-test" - cp -pr "${BASEDIR}"/dev-support/smart-apply* "${PATCH_DIR}/dev-support-test" + (cd "${BINDIR}"; tar cpf - . ) \ + | (cd "${PATCH_DIR}/dev-support-test"; tar xpf - ) big_console_header "exec'ing test-patch.sh now..." diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index c010ff1f00..e332ea895e 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -232,6 +232,8 @@ Trunk (Unreleased) HADOOP-11807. add a lint mode to releasedocmaker (ramtin via aw) + HADOOP-12149. copy all of test-patch BINDIR prior to re-exec (aw) + BUG FIXES HADOOP-11473. test-patch says "-1 overall" even when all checks are +1