[PATCH 3/5] bindings/ruby: gitignore *.o
[notmuch-archives.git] / 67 / 50c5df4a81667bc18919ee5129e20631e1b401
1 Return-Path: <dmitry.kurochkin@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 0FEEA429E27\r
6         for <notmuch@notmuchmail.org>; Mon,  9 May 2011 18:18:38 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id o9AyOeLZrHr8 for <notmuch@notmuchmail.org>;\r
17         Mon,  9 May 2011 18:18:37 -0700 (PDT)\r
18 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
19         [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 6C1DC429E26\r
22         for <notmuch@notmuchmail.org>; Mon,  9 May 2011 18:18:37 -0700 (PDT)\r
23 Received: by fxm8 with SMTP id 8so4300470fxm.26\r
24         for <notmuch@notmuchmail.org>; Mon, 09 May 2011 18:18:36 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer\r
27         :in-reply-to:references;\r
28         bh=1CNOtz5TH+PbDx9Ux6vBxqVpXymv1EttnKAssr67atE=;\r
29         b=NCvvEd+Qmu3CqWXzLGly+qDvCZ9lmWd7n+o0YY/owk+nNSENaQ19OK4X2CeQKEVe2Q\r
30         G2BePNubwwoPABuwFt8ngFVday1TGWfsyuwGbjYaN20PZqyNLDH9lHyTUWgOi5/31j44\r
31         oN30FZLjtsU7fBvefFLHBcYYwNZ5/DK2hCvjk=\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
33         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
34         b=hGnuzotzDvcLg62WWanMBrJqtcXxLTTF0g0FWdTdrPMflDam3CUxOxftqZx+aw507g\r
35         wF+DgyhtyGkdGpmuuAO18GgyIMMEOZ04nwnTONwCojFV0w97YcozONrnBmX43DfKbdT8\r
36         0bJdERs5MSxmwHq27uAeQtKKEGaaCw1eBHMvo=\r
37 Received: by 10.223.68.193 with SMTP id w1mr4641844fai.42.1304990316126;\r
38         Mon, 09 May 2011 18:18:36 -0700 (PDT)\r
39 Received: from localhost ([91.144.186.21])\r
40         by mx.google.com with ESMTPS id d18sm2180993fak.22.2011.05.09.18.18.34\r
41         (version=TLSv1/SSLv3 cipher=OTHER);\r
42         Mon, 09 May 2011 18:18:35 -0700 (PDT)\r
43 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
44 To: Notmuch Mail <notmuch@notmuchmail.org>\r
45 Subject: [PATCH] test: saving attachments from within emacs using\r
46         notmuch-show-save-attachments\r
47 Date: Tue, 10 May 2011 05:18:47 +0400\r
48 Message-Id: <1304990327-8665-1-git-send-email-dmitry.kurochkin@gmail.com>\r
49 X-Mailer: git-send-email 1.7.5.1\r
50 In-Reply-To: <1304984035-20743-1-git-send-email-dmitry.kurochkin@gmail.com>\r
51 References: <1304984035-20743-1-git-send-email-dmitry.kurochkin@gmail.com>\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.13\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56         <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Tue, 10 May 2011 01:18:38 -0000\r
65 \r
66 ---\r
67  test/emacs |   14 +++++++++++---\r
68  1 files changed, 11 insertions(+), 3 deletions(-)\r
69 \r
70 diff --git a/test/emacs b/test/emacs\r
71 index 75dec89..675a887 100755\r
72 --- a/test/emacs\r
73 +++ b/test/emacs\r
74 @@ -112,9 +112,17 @@ Fcc: $(pwd)/mail/sent\r
75  On Fri, 29 Mar 1974 10:00:00 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> wrote:\r
76  > This is a test that messages are sent via SMTP"\r
77  \r
78 -test_begin_subtest "Save attachment from within emacs"\r
79 -echo "./attachment" | test_emacs '(notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com") (notmuch-show-save-attachments)' > /dev/null 2>&1\r
80 -output=$(cat attachment)\r
81 +test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments"\r
82 +# save as archive to test that Emacs does not re-compress .gz\r
83 +echo "./attachment1.gz" | test_emacs '(notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com") (notmuch-show-save-attachments)' > /dev/null 2>&1\r
84 +output=$(cat attachment1.gz)\r
85 +expected=$(cat $EXPECTED/attachment)\r
86 +test_expect_equal "$output" "$expected"\r
87 +\r
88 +test_begin_subtest "Save attachment from within emacs using notmuch-show-save-part"\r
89 +# save as archive to test that Emacs does not re-compress .gz\r
90 +echo "./attachment2.gz" | test_emacs '(notmuch-show-save-part "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com" 5)' > /dev/null 2>&1\r
91 +output=$(cat attachment2.gz)\r
92  expected=$(cat $EXPECTED/attachment)\r
93  test_expect_equal "$output" "$expected"\r
94  \r
95 -- \r
96 1.7.5.1\r
97 \r