Repository: knox Updated Branches: refs/heads/master 8397b56b0 -> bbf2030c3
[KNOX-169] - Test issue for patch test automation via PreCommit-Knox-Build job Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/bbf2030c Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/bbf2030c Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/bbf2030c Branch: refs/heads/master Commit: bbf2030c35930644eaeb19a64ee031885efe9c03 Parents: 8397b56 Author: Kevin Minder <kmin...@apache.org> Authored: Fri Jan 29 15:59:22 2016 -0500 Committer: Kevin Minder <kmin...@apache.org> Committed: Fri Jan 29 15:59:22 2016 -0500 ---------------------------------------------------------------------- dev-support/test-patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/bbf2030c/dev-support/test-patch ---------------------------------------------------------------------- diff --git a/dev-support/test-patch b/dev-support/test-patch index b7d6214..16289ce 100755 --- a/dev-support/test-patch +++ b/dev-support/test-patch @@ -16,6 +16,7 @@ if [ "${TESTPATCHDEBUG}" == "true" ] ; then set -x fi +SCRIPTDIR=dev-support BASEDIR=$(pwd) TESTPATCHDIRNAME=test-patch TESTPATCHDIR=${BASEDIR}/${TESTPATCHDIRNAME} @@ -316,7 +317,7 @@ run() { } ############################################################################### getAllTasks() { - TASKFILES=`ls -a ${BASEDIR}/test\-patch\-[0-9][0-9]\-*` + TASKFILES=`ls -a ${SCRIPTDIR}/test\-patch\-[0-9][0-9]\-*` } ############################################################################### prePatchRun() { @@ -396,7 +397,7 @@ WARNINGS=`grep -c "\}WARNING" ${SUMMARYFILE}` if [[ $WARNINGS != 0 ]]; then echo "{color:red}. There is at least one warning, please check{color}" >> ${SUMMARYFILE} fi -echo "" >> ${SUMMARYFILE} +echo " " >> ${SUMMARYFILE} if [ ! -z "${JIRAISSUE}" ]; then echo "The full output of the test-patch run is available at" >> ${SUMMARYFILE}