Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 58 / ac54b006b5138d3adbc801b2aa27e6a3479b4f
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 EFC09429E25\r
6         for <notmuch@notmuchmail.org>; Thu,  1 Dec 2011 14:03:17 -0800 (PST)\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 0cU+md8juaL0 for <notmuch@notmuchmail.org>;\r
17         Thu,  1 Dec 2011 14:03:17 -0800 (PST)\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 59CDA431FD0\r
22         for <notmuch@notmuchmail.org>; Thu,  1 Dec 2011 14:03:17 -0800 (PST)\r
23 Received: by bkbzu5 with SMTP id zu5so1596665bkb.26\r
24         for <notmuch@notmuchmail.org>; Thu, 01 Dec 2011 14:03:14 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=from:to:subject:date:message-id:x-mailer;\r
27         bh=xhAG7VWTlN5W/tnmDKBb2vDlgAZsmXeVs7k1/miStpA=;\r
28         b=gLZVwIRzidOrPCTIMFKnFeD+uPt9CfpvhJS03DUQcRvZidHnTFnuLCMQuiLWx85vJ7\r
29         v46e0ewWW3luvGz1eKE2caaCGUXuOZHmnlOtXhDNPEnf3hL81dZ3j1bXD0cn12ofTIRR\r
30         xnufg0ZWMplP0a7jL3x3XSxPNtcu1kzFOFJxQ=\r
31 Received: by 10.204.132.78 with SMTP id a14mr9701860bkt.15.1322776994497;\r
32         Thu, 01 Dec 2011 14:03:14 -0800 (PST)\r
33 Received: from localhost ([91.144.186.21])\r
34         by mx.google.com with ESMTPS id h7sm14363882bkw.12.2011.12.01.14.03.13\r
35         (version=TLSv1/SSLv3 cipher=OTHER);\r
36         Thu, 01 Dec 2011 14:03:13 -0800 (PST)\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH] test: cleanup gdb external dependency in atomicity tests\r
40 Date: Fri,  2 Dec 2011 02:02:46 +0400\r
41 Message-Id: <1322776967-27631-1-git-send-email-dmitry.kurochkin@gmail.com>\r
42 X-Mailer: git-send-email 1.7.7.3\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Thu, 01 Dec 2011 22:03:18 -0000\r
56 \r
57 Change atomicity tests to use the new external binary dependencies.\r
58 This simplifies the code and makes output consistent.\r
59 ---\r
60  test/atomicity |   12 ++++--------\r
61  1 files changed, 4 insertions(+), 8 deletions(-)\r
62 \r
63 diff --git a/test/atomicity b/test/atomicity\r
64 index ad7d4a3..6df0a00 100755\r
65 --- a/test/atomicity\r
66 +++ b/test/atomicity\r
67 @@ -7,8 +7,7 @@ test_description='atomicity'\r
68  # final database contents should be the same regardless of when (or\r
69  # if) it is killed and restarted.\r
70  \r
71 -if which gdb 1>/dev/null 2>&1; then\r
72 -    test_set_prereq GDB\r
73 +if test_require_external_prereq gdb; then\r
74  \r
75  # Create a maildir structure to also stress flag synchronization\r
76      mkdir $MAIL_DIR/cur\r
77 @@ -91,14 +90,11 @@ if which gdb 1>/dev/null 2>&1; then\r
78             i=$(expr $end - 1)\r
79         fi\r
80      done\r
81 -else\r
82 -    say_color info "%-6s" "WARNING"\r
83 -    echo " Missing test prerequisite GDB"\r
84 -fi  \r
85 +fi\r
86  \r
87  test_begin_subtest '"notmuch new" is idempotent under arbitrary aborts'\r
88 -test_expect_equal_file GDB searchall expectall\r
89 +test_expect_equal_file searchall expectall\r
90  \r
91 -test_expect_success GDB "detected $outcount>10 abort points" "test $outcount -gt 10"\r
92 +test_expect_success "detected $outcount>10 abort points" "test $outcount -gt 10"\r
93  \r
94  test_done\r
95 -- \r
96 1.7.7.3\r
97 \r