From common-commits-return-12250-apmail-hadoop-common-commits-archive=hadoop.apache.org@hadoop.apache.org Tue Jan 04 01:34:55 2011 Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 71616 invoked from network); 4 Jan 2011 01:34:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2011 01:34:55 -0000 Received: (qmail 67978 invoked by uid 500); 4 Jan 2011 01:34:55 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 67790 invoked by uid 500); 4 Jan 2011 01:34:54 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 67783 invoked by uid 99); 4 Jan 2011 01:34:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 01:34:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 01:34:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5D7B32388999; Tue, 4 Jan 2011 01:34:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1054853 - /hadoop/common/trunk/src/test/bin/test-patch.sh Date: Tue, 04 Jan 2011 01:34:32 -0000 To: common-commits@hadoop.apache.org From: cos@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110104013432.5D7B32388999@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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