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 82C3D429E4E
\r
6 for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 21:45:30 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 3ET9zOiA6VDs for <notmuch@notmuchmail.org>;
\r
17 Mon, 27 Jun 2011 21:45:30 -0700 (PDT)
\r
18 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com
\r
19 [209.85.214.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 E5C32429E41
\r
22 for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 21:45:29 -0700 (PDT)
\r
23 Received: by bwg12 with SMTP id 12so4889638bwg.26
\r
24 for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 21:45:28 -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 bh=bzx2mcLS+evnAO91u0xq5NbJLRyFElG1UB9sZJpF5Ug=;
\r
28 b=FsJlv2oCniryyADOwv3p0nBV9r5J+dN+vH5aDEbl6Lo/EqlR+uXZ0pQb5s353zrFbB
\r
29 Kas8wOxEvkPlxonkBKOMKpuqKt4aaNtA7s++or1tK0+7gc+voUve5s6tip6SQxbAlpdV
\r
30 NM41/rP5tR1DVtcENWmt/87gcH/5wluA3X3uY=
\r
31 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
32 h=from:to:cc:subject:date:message-id:x-mailer;
\r
33 b=w214TOeO7/mAwx6chyn/a1g8/XMjfsHaYiT36ApZxJvNy3ZQ/KmEmJrIhjFjeDlNms
\r
34 U6pa+8N0YCWxrq0LU3mszpnNYZfOFSy0yPC0tl/xoONF3zc89jgerq7xpPELzBM90Plk
\r
35 6MoO/K9HhZtTot8yES+29c4BJ2Wd41Wv1zI0A=
\r
36 Received: by 10.204.46.18 with SMTP id h18mr106598bkf.31.1309236328449;
\r
37 Mon, 27 Jun 2011 21:45:28 -0700 (PDT)
\r
38 Received: from localhost ([91.144.186.21])
\r
39 by mx.google.com with ESMTPS id ag6sm4747985bkc.6.2011.06.27.21.45.27
\r
40 (version=TLSv1/SSLv3 cipher=OTHER);
\r
41 Mon, 27 Jun 2011 21:45:27 -0700 (PDT)
\r
42 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH 01/10] test: fix argument order of test_expect_equal_file in
\r
46 Date: Tue, 28 Jun 2011 08:45:02 +0400
\r
47 Message-Id: <1309236311-2162-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.5.4
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Tue, 28 Jun 2011 04:45:30 -0000
\r
63 Few Emacs tests had test_expect_equal_file arguments in the wrong
\r
64 order: the first argument should be the test output and the
\r
65 second one should be the expected.
\r
68 1 files changed, 2 insertions(+), 2 deletions(-)
\r
70 diff --git a/test/emacs b/test/emacs
\r
71 index 6f82b08..f4ff3f1 100755
\r
74 @@ -198,12 +198,12 @@ test_expect_equal_file OUTPUT EXPECTED
\r
75 test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments"
\r
76 # save as archive to test that Emacs does not re-compress .gz
\r
77 echo ./attachment1.gz | test_emacs '(notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com") (notmuch-show-save-attachments)' > /dev/null 2>&1
\r
78 -test_expect_equal_file "$EXPECTED/attachment" attachment1.gz
\r
79 +test_expect_equal_file attachment1.gz "$EXPECTED/attachment"
\r
81 test_begin_subtest "Save attachment from within emacs using notmuch-show-save-part"
\r
82 # save as archive to test that Emacs does not re-compress .gz
\r
83 echo ./attachment2.gz | test_emacs '(notmuch-show-save-part "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com" 5)' > /dev/null 2>&1
\r
84 -test_expect_equal_file "$EXPECTED/attachment" attachment2.gz
\r
85 +test_expect_equal_file attachment2.gz "$EXPECTED/attachment"
\r
87 test_begin_subtest "View raw message within emacs"
\r
88 first_line=$(head -n1 $EXPECTED/raw-message-cf0c4d-52ad0a)
\r