You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2015/12/01 05:42:44 UTC
yetus git commit: YETUS-202. 171 incomplete
Repository: yetus
Updated Branches:
refs/heads/master df4f6f474 -> 38e69e9e9
YETUS-202. 171 incomplete
Signed-off-by: Sean Busbey <bu...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/38e69e9e
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/38e69e9e
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/38e69e9e
Branch: refs/heads/master
Commit: 38e69e9e96ce03085e27e1c3b01cbc3bfc708490
Parents: df4f6f4
Author: Allen Wittenauer <aw...@apache.org>
Authored: Mon Nov 23 13:49:27 2015 -0800
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Mon Nov 30 20:41:59 2015 -0800
----------------------------------------------------------------------
precommit/core.d/docker.sh | 1 +
precommit/test-patch.sh | 14 +++++++-------
2 files changed, 8 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/yetus/blob/38e69e9e/precommit/core.d/docker.sh
----------------------------------------------------------------------
diff --git a/precommit/core.d/docker.sh b/precommit/core.d/docker.sh
index 106e662..6ef0d1c 100755
--- a/precommit/core.d/docker.sh
+++ b/precommit/core.d/docker.sh
@@ -98,6 +98,7 @@ function dockerverify
if [[ ! -f "${pathdocker}" ]]; then
yetus_error "Docker cannot be found."
+ DOCKERCMD=docker
return 1
fi
DOCKERCMD="${pathdocker}"
http://git-wip-us.apache.org/repos/asf/yetus/blob/38e69e9e/precommit/test-patch.sh
----------------------------------------------------------------------
diff --git a/precommit/test-patch.sh b/precommit/test-patch.sh
index 45453c4..9cc8934 100755
--- a/precommit/test-patch.sh
+++ b/precommit/test-patch.sh
@@ -2532,6 +2532,13 @@ function initialize
# plugins need to pushd/popd if they change.
git_checkout
+ determine_issue
+ if [[ "${ISSUE}" == 'Unknown' ]]; then
+ echo "Testing patch on ${PATCH_BRANCH}."
+ else
+ echo "Testing ${ISSUE} patch on ${PATCH_BRANCH}."
+ fi
+
patchfile_dryrun_driver "${PATCH_DIR}/patch"
if [[ $? != 0 ]]; then
((RESULT = RESULT + 1))
@@ -2541,13 +2548,6 @@ function initialize
cleanup_and_exit 1
fi
- determine_issue
- if [[ "${ISSUE}" == 'Unknown' ]]; then
- echo "Testing patch on ${PATCH_BRANCH}."
- else
- echo "Testing ${ISSUE} patch on ${PATCH_BRANCH}."
- fi
-
find_changed_files
check_reexec