Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 30C2C429E25 for ; Wed, 8 Jun 2011 12:30:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.921 X-Spam-Level: X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[NO_DNS_FOR_FROM=0.379, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QxU+MYSqVb4r for ; Wed, 8 Jun 2011 12:30:17 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 8C4A5429E29 for ; Wed, 8 Jun 2011 12:30:17 -0700 (PDT) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id AA67B32819C; Wed, 8 Jun 2011 12:23:02 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from servo.finestructure.net (gwave-108.ligo.caltech.edu [131.215.114.108]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id 885CD32812D; Wed, 8 Jun 2011 12:22:58 -0700 (PDT) Received: by servo.finestructure.net (Postfix, from userid 1000) id E10D6184; Wed, 8 Jun 2011 12:30:12 -0700 (PDT) From: Jameson Graef Rollins To: Notmuch Mail Subject: [PATCH 1/4] test/multipart: test for absence of "Non-text part:" lines in reply for multipart/* and message/rfc822 parts Date: Wed, 8 Jun 2011 12:30:06 -0700 Message-Id: <1307561409-5646-2-git-send-email-jrollins@finestructure.net> X-Mailer: git-send-email 1.7.5.3 In-Reply-To: <1307561409-5646-1-git-send-email-jrollins@finestructure.net> References: <1307320169-29905-4-git-send-email-jrollins@finestructure.net> <1307561409-5646-1-git-send-email-jrollins@finestructure.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2011 19:30:18 -0000 There's no reason to output "Non-text part:" lines for parts that are not leaf nodes, eg. multipart/* and message/rfc822. We fix the text here to test for their absence. The next patch will fix reply accordingly. --- test/multipart | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/test/multipart b/test/multipart index 95577dc..c7431cc 100755 --- a/test/multipart +++ b/test/multipart @@ -578,14 +578,11 @@ In-Reply-To: <87liy5ap00.fsf@yoom.home.cworth.org> References: <87liy5ap00.fsf@yoom.home.cworth.org> On Fri, 05 Jan 2001 15:43:57 +0000, Carl Worth wrote: -Non-text part: multipart/signed -Non-text part: multipart/mixed > From: Carl Worth > To: cworth@cworth.org > Subject: html message > Date: Fri, 05 Jan 2001 15:42:57 +0000 > -Non-text part: multipart/alternative Non-text part: text/html > This is an embedded message, with a multipart/alternative part. > This is a text attachment. -- 1.7.5.3