You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by bu...@apache.org on 2015/09/23 04:24:07 UTC

[37/50] [abbrv] yetus git commit: Revert "HADOOP-12233. if CHANGED_FILES is corrupt, find_changed_modules never returns (Kengo Seki via aw)"

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/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/3ee84912
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/3ee84912
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/3ee84912

Branch: refs/heads/master
Commit: 3ee849126c5fd3838a8632dc41266fef7047888a
Parents: 1253205
Author: Allen Wittenauer <aw...@apache.org>
Authored: Wed Aug 26 09:02:09 2015 -0700
Committer: Allen Wittenauer <aw...@apache.org>
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/yetus/blob/3ee84912/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