You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cd...@apache.org on 2008/09/19 21:05:19 UTC
svn commit: r697189 - in /hadoop/core/trunk: CHANGES.txt
src/test/bin/test-patch.sh
Author: cdouglas
Date: Fri Sep 19 12:05:18 2008
New Revision: 697189
URL: http://svn.apache.org/viewvc?rev=697189&view=rev
Log:
HADOOP-3975. Change test-patch script to report working the dir
modifications preventing the suite from being run. Contributed by Ramya R.
Modified:
hadoop/core/trunk/CHANGES.txt
hadoop/core/trunk/src/test/bin/test-patch.sh
Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=697189&r1=697188&r2=697189&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Sep 19 12:05:18 2008
@@ -379,6 +379,9 @@
HADOOP-4194. Added the JobConf and JobID to job-related methods in
JobTrackerInstrumentation for better metrics. (Mac Yang via acmurthy)
+ HADOOP-3975. Change test-patch script to report working the dir
+ modifications preventing the suite from being run. (Ramya R via cdouglas)
+
OPTIMIZATIONS
HADOOP-3556. Removed lock contention in MD5Hash by changing the
Modified: hadoop/core/trunk/src/test/bin/test-patch.sh
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/test/bin/test-patch.sh?rev=697189&r1=697188&r2=697189&view=diff
==============================================================================
--- hadoop/core/trunk/src/test/bin/test-patch.sh (original)
+++ hadoop/core/trunk/src/test/bin/test-patch.sh Fri Sep 19 12:05:18 2008
@@ -98,10 +98,12 @@
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