Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 44185 invoked from network); 6 Aug 2008 14:33:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Aug 2008 14:33:07 -0000 Received: (qmail 37975 invoked by uid 500); 6 Aug 2008 14:33:04 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 37947 invoked by uid 500); 6 Aug 2008 14:33:04 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 37936 invoked by uid 99); 6 Aug 2008 14:33:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 07:33:04 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 14:32:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A7BB234C18F for ; Wed, 6 Aug 2008 07:32:44 -0700 (PDT) Message-ID: <468577762.1218033164500.JavaMail.jira@brutus> Date: Wed, 6 Aug 2008 07:32:44 -0700 (PDT) From: "Hadoop QA (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3792) exit code from "hadoop dfs -test ..." is wrong for Unix shell In-Reply-To: <2116949172.1216409791625.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620267#action_12620267 ] Hadoop QA commented on HADOOP-3792: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12387571/fsshell-test.patch against trunk revision 682978. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 4 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3017/console This message is automatically generated. > exit code from "hadoop dfs -test ..." is wrong for Unix shell > ------------------------------------------------------------- > > Key: HADOOP-3792 > URL: https://issues.apache.org/jira/browse/HADOOP-3792 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Affects Versions: 0.17.1 > Environment: any Bourne-derived shell > Reporter: Ben Slusky > Assignee: Ben Slusky > Priority: Minor > Attachments: fsshell-test.patch, fsshell-test.patch > > > The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.