From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B0EA7431FAF for ; Fri, 3 Feb 2012 02:26:21 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 O-vuRvv+3MPX for ; Fri, 3 Feb 2012 02:26:20 -0800 (PST) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 122F6431FAE for ; Fri, 3 Feb 2012 02:26:19 -0800 (PST) Received: by werb10 with SMTP id b10so2922906wer.26 for ; Fri, 03 Feb 2012 02:26:18 -0800 (PST) Received: by 10.216.132.214 with SMTP id o64mr5990622wei.26.1328264778869; Fri, 03 Feb 2012 02:26:18 -0800 (PST) Received: from localhost ([109.131.13.166]) by mx.google.com with ESMTPS id x7sm5504573wif.10.2012.02.03.02.26.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Feb 2012 02:26:18 -0800 (PST) From: Pieter Praet To: David Bremner Subject: [PATCH v6 1/3] test: add tests for quoting of MML tags in replies Date: Fri, 3 Feb 2012 11:24:07 +0100 Message-Id: <1328264649-27346-1-git-send-email-pieter@praet.org> X-Mailer: git-send-email 1.7.8.1 In-Reply-To: <87r4yc2p3y.fsf@praet.org> References: <87r4yc2p3y.fsf@praet.org> Cc: Notmuch Mail 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: Fri, 03 Feb 2012 10:26:21 -0000 From: Aaron Ecay The test is broken at this time; the next commit will introduce a fix. Edited-by: Pieter Praet : Rebased to release branch, moved expected output into the actual test, and fixed "Fcc:" line. --- test/emacs | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/test/emacs b/test/emacs index f36718e..db8e4ad 100755 --- a/test/emacs +++ b/test/emacs @@ -273,6 +273,27 @@ On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite w EOF test_expect_equal_file OUTPUT EXPECTED +test_begin_subtest "Quote MML tags in reply" +test_subtest_known_broken +message_id='test-emacs-mml-quoting@message.id' +add_message [id]="$message_id" \ + "[subject]='$test_subtest_name'" \ + '[body]="<#part disposition=inline>"' +test_emacs "(notmuch-show \"id:$message_id\") + (notmuch-show-reply) + (test-output)" +cat <EXPECTED +From: Notmuch Test Suite +To: +Subject: Re: Quote MML tags in reply +In-Reply-To: +Fcc: ${MAIL_DIR}/sent +--text follows this line-- +On Tue, 05 Jan 2001 15:43:57 -0000, Notmuch Test Suite wrote: +> <#!part disposition=inline> +EOF +test_expect_equal_file OUTPUT EXPECTED + test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments" # save as archive to test that Emacs does not re-compress .gz test_emacs '(let ((standard-input "\"attachment1.gz\"")) -- 1.7.8.1