Author: cos Date: Tue Jan 4 01:34:32 2011 New Revision: 1054853 URL: http://svn.apache.org/viewvc?rev=1054853&view=rev Log: HADOOP-7072. Fixing incorrect count of parameters. Modified: hadoop/common/trunk/src/test/bin/test-patch.sh Modified: hadoop/common/trunk/src/test/bin/test-patch.sh URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/bin/test-patch.sh?rev=1054853&r1=1054852&r2=1054853&view=diff ============================================================================== --- hadoop/common/trunk/src/test/bin/test-patch.sh (original) +++ hadoop/common/trunk/src/test/bin/test-patch.sh Tue Jan 4 01:34:32 2011 @@ -26,7 +26,7 @@ parseArgs() { HUDSON) ### Set HUDSON to true to indicate that this script is being run by Hudson HUDSON=true - if [[ $# != 18 ]] ; then + if [[ $# != 17 ]] ; then echo "ERROR: usage $0 HUDSON " cleanupAndExit 0 fi @@ -44,8 +44,8 @@ parseArgs() { PYTHON_HOME=${13} BASEDIR=${14} JIRA_PASSWD=${15} - CURL=${17} - defect=${18} + CURL=${16} + defect=${17} ### Retrieve the defect number if [ -z "$defect" ] ; then @@ -63,7 +63,7 @@ parseArgs() { DEVELOPER) ### Set HUDSON to false to indicate that this script is being run by a developer HUDSON=false - if [[ $# != 10 ]] ; then + if [[ $# != 9 ]] ; then echo "ERROR: usage $0 DEVELOPER " cleanupAndExit 0 fi