This is an automated email from the ASF dual-hosted git repository. aw pushed a commit to tag prehistory in repository https://gitbox.apache.org/repos/asf/yetus.git
commit 34ff4786e728a961c41d90e07c2e4fdad427344d Author: Christopher Douglas <cdoug...@apache.org> AuthorDate: Fri Sep 19 19:05:18 2008 +0000 HADOOP-3975. Change test-patch script to report working the dir modifications preventing the suite from being run. Contributed by Ramya R. git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@697189 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/bin/test-patch.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/test/bin/test-patch.sh b/src/test/bin/test-patch.sh index abdc493f..4da15267 100755 --- a/src/test/bin/test-patch.sh +++ b/src/test/bin/test-patch.sh @@ -98,10 +98,12 @@ checkout () { echo "" echo "" ### When run by a developer, if the workspace contains modifications, do not continue + status=`$SVN stat` if [[ $HUDSON == "false" ]] ; then - if [[ `$SVN stat` != "" ]] ; then - echo "ERROR: can't run in a workspace that contains modifications" - cleanupAndExit 0 + if [[ "$status" != "" ]] ; then + echo "ERROR: can't run in a workspace that contains the following modifications" + echo "$status" + cleanupAndExit 1 fi else cd $BASEDIR