Author: nigel
Date: Thu Feb 7 18:32:20 2008
New Revision: 619744
URL: http://svn.apache.org/viewvc?rev=619744&view=rev
Log:
Fixed wording for patch process jira comment
Modified:
hadoop/core/nightly/hudsonBuildHadoopPatch.sh
Modified: hadoop/core/nightly/hudsonBuildHadoopPatch.sh
URL:
http://svn.apache.org/viewvc/hadoop/core/nightly/hudsonBuildHadoopPatch.sh?rev=619744&r1=619743&r2=619744&view=diff
==============================================================================
--- hadoop/core/nightly/hudsonBuildHadoopPatch.sh (original)
+++ hadoop/core/nightly/hudsonBuildHadoopPatch.sh Thu Feb 7 18:32:20 2008
@@ -114,24 +114,24 @@
}
###############################################################################
-### Check for JUnit tests in the patch
+### Check for tests in the patch
checkTests () {
echo ""
echo ""
echo "======================================================================"
echo "======================================================================"
- echo " Checking there are new or changed JUnit tests in the patch."
+ echo " Checking there are new or changed tests in the patch."
echo "======================================================================"
echo "======================================================================"
echo ""
echo ""
- testReferences=`$GREP -c '/Test' $PATCH_DIR/patch`
+ testReferences=`$GREP -c -i '/test' $PATCH_DIR/patch`
echo "There appear to be $testReferences test files referenced in the patch."
if [[ $testReferences == 0 ]] ; then
JIRA_COMMENT="$JIRA_COMMENT
- tests included -1. The patch doesn't appear to include any new or
modified JUnit tests.
- Please justify why no unit tests are needed for this
patch."
+ tests included -1. The patch doesn't appear to include any new or
modified tests.
+ Please justify why no tests are needed for this patch."
return 1
fi
JIRA_COMMENT="$JIRA_COMMENT