Repository: hadoop Updated Branches: refs/heads/HADOOP-12111 e7230d1ad -> b006c9a7b
Revert "HADOOP-12233. if CHANGED_FILES is corrupt, find_changed_modules never returns (Kengo Seki via aw)" This reverts commit a32b5b01b709ae11dc80c9f972b2e7b84bbce904. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b006c9a7 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b006c9a7 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b006c9a7 Branch: refs/heads/HADOOP-12111 Commit: b006c9a7bb23e67d9c744ede692be15af4fad315 Parents: e7230d1 Author: Allen Wittenauer <[email protected]> Authored: Wed Aug 26 09:02:09 2015 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Wed Aug 26 09:02:09 2015 -0700 ---------------------------------------------------------------------- dev-support/test-patch.sh | 14 -------------- 1 file changed, 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/b006c9a7/dev-support/test-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 9f08ad3..4d4b63f 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -1107,7 +1107,6 @@ function find_buildfile_dir { local buildfile=$1 local dir=$2 - local d yetus_debug "Find ${buildfile} dir for: ${dir}" @@ -1120,12 +1119,6 @@ function find_buildfile_dir yetus_debug "ERROR: ${buildfile} is not found." return 1 else - d=$(cd -P -- "$(dirname -- "${dir}")" >/dev/null && pwd -P) - relative_dir "${d}" >/dev/null - if [[ $? == 1 ]]; then - yetus_debug "ERROR: ${dir} is not in ${BASEDIR}." - return 1 - fi dir=$(dirname "${dir}") fi done @@ -1158,7 +1151,6 @@ function find_changed_files function module_skipdir { local dir=${1} - local d local i yetus_debug "Checking skipdirs for ${dir}" @@ -1178,12 +1170,6 @@ function module_skipdir if [[ ${dir} == "." ]]; then return 0 else - d=$(cd -P -- "$(dirname -- "${dir}")" >/dev/null && pwd -P) - relative_dir "${d}" >/dev/null - if [[ $? == 1 ]]; then - yetus_debug "ERROR: ${dir} is not in ${BASEDIR}." - return 1 - fi dir=$(dirname "${dir}") yetus_debug "Trying to skip: ${dir}" fi
