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 536CB429E42
\r
6 for <notmuch@notmuchmail.org>; Sun, 26 Jun 2011 16:53:32 -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 d4y8LdzP36TC for <notmuch@notmuchmail.org>;
\r
17 Sun, 26 Jun 2011 16:53:31 -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 EFAC2429E40
\r
22 for <notmuch@notmuchmail.org>; Sun, 26 Jun 2011 16:53:29 -0700 (PDT)
\r
23 Received: by mail-bw0-f53.google.com with SMTP id 12so3882788bwg.26
\r
24 for <notmuch@notmuchmail.org>; Sun, 26 Jun 2011 16:53:29 -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=SduKmz/fpQML0ZhFHD9J9VUkVlXm5cREmR/lvHzmuXo=;
\r
29 b=kxmWehjGuBPrXRBDCpEv/Q7r8udIR7Ram8TCcYn/jDn4aFkCXZGF+mHMHpguSSDo3e
\r
30 3k46c1hV4DaGtvZuBW/BeURkQldMY84YPV15koi4kdkuMFRefOitKrgaAGqTK2xX7Z9s
\r
31 Pj4KK0f36tmbv17rXtaq50TpuwjRNZlkBDw7Q=
\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=mhbPVUyOxD+LCDa/9igJBCGM+cWrkdfgr9Vq3ziEISIa8kvZTDVMSe2fvee4zd0RRm
\r
35 vPw/zgCqFFw4SMSQKPWdClOuTvza8bMphmS5NkdCova6qZsXiJa31qj2D3SSctmMggZx
\r
36 76AIV+BgzmSfrPSiHwMmSALGrREDDjvkBSkSQ=
\r
37 Received: by 10.204.34.70 with SMTP id k6mr1051374bkd.155.1309132408001;
\r
38 Sun, 26 Jun 2011 16:53:28 -0700 (PDT)
\r
39 Received: from localhost ([91.144.186.21])
\r
40 by mx.google.com with ESMTPS id c13sm176090bkc.2.2011.06.26.16.53.26
\r
41 (version=TLSv1/SSLv3 cipher=OTHER);
\r
42 Sun, 26 Jun 2011 16:53:27 -0700 (PDT)
\r
43 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: [PATCH 5/5] test: remove some sed(1) calls in Emacs tests
\r
46 Date: Mon, 27 Jun 2011 03:52:59 +0400
\r
47 Message-Id: <1309132379-24089-5-git-send-email-dmitry.kurochkin@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.5.4
\r
49 In-Reply-To: <1309132379-24089-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
50 References: <1309132379-24089-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Sun, 26 Jun 2011 23:53:32 -0000
\r
65 Few Emacs tests used sed(1) to remove unexpected output in the
\r
66 beginning to avoid getting confused by messages such as "Parsing
\r
67 /home/cworth/.mailrc... done". This is no longer needed since
\r
68 tests are run in a temporary home directory instead of the user's
\r
69 one. So remove these sed(1) calls.
\r
71 test/emacs | 5 -----
\r
72 1 files changed, 0 insertions(+), 5 deletions(-)
\r
74 diff --git a/test/emacs b/test/emacs
\r
75 index fc4c01f..f3239ea 100755
\r
78 @@ -250,13 +250,10 @@ EOF
\r
79 test_expect_equal_file OUTPUT EXPECTED
\r
81 test_begin_subtest "Reply within emacs"
\r
82 -# We sed away everything before the ^From in the output to avoid getting
\r
83 -# confused by messages such as "Parsing /home/cworth/.mailrc... done"
\r
84 test_emacs '(notmuch-search "subject:\"testing message sent via SMTP\"")
\r
86 (notmuch-search-reply-to-thread)
\r
88 -sed -i -ne '/^From/,$ p' OUTPUT
\r
89 sed -i -e 's/^In-Reply-To: <.*>$/In-Reply-To: <XXX>/' OUTPUT
\r
91 From: Notmuch Test Suite <test_suite@notmuchmail.org>
\r
92 @@ -284,11 +281,9 @@ test_emacs '(notmuch-show-save-part "id:cf0c4d610911171136h1713aa59w9cf9aa31f052
\r
93 test_expect_equal_file "$EXPECTED/attachment" attachment2.gz
\r
95 test_begin_subtest "View raw message within emacs"
\r
96 -first_line=$(head -n1 $EXPECTED/raw-message-cf0c4d-52ad0a)
\r
97 test_emacs '(notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com")
\r
98 (notmuch-show-view-raw-message)
\r
100 -sed -i -ne "/$first_line/,\$ p" OUTPUT
\r
101 test_expect_equal_file OUTPUT $EXPECTED/raw-message-cf0c4d-52ad0a
\r
103 test_begin_subtest "Hiding/showing signature in notmuch-show view"
\r