1 Return-Path: <pieter@praet.org>
\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 681EC429E21
\r
6 for <notmuch@notmuchmail.org>; Fri, 13 May 2011 01:17:53 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 7CG5XW9+COie for <notmuch@notmuchmail.org>;
\r
16 Fri, 13 May 2011 01:17:53 -0700 (PDT)
\r
17 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com
\r
18 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id D0EB0431FD0
\r
21 for <notmuch@notmuchmail.org>; Fri, 13 May 2011 01:17:52 -0700 (PDT)
\r
22 Received: by mail-wy0-f181.google.com with SMTP id 11so1911216wyi.26
\r
23 for <notmuch@notmuchmail.org>; Fri, 13 May 2011 01:17:52 -0700 (PDT)
\r
24 Received: by 10.216.205.26 with SMTP id i26mr1128052weo.58.1305274672501;
\r
25 Fri, 13 May 2011 01:17:52 -0700 (PDT)
\r
26 Received: from localhost (54.209-242-81.adsl-dyn.isp.belgacom.be
\r
28 by mx.google.com with ESMTPS id f52sm1004097wes.11.2011.05.13.01.17.50
\r
29 (version=TLSv1/SSLv3 cipher=OTHER);
\r
30 Fri, 13 May 2011 01:17:51 -0700 (PDT)
\r
31 From: Pieter Praet <pieter@praet.org>
\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
33 Subject: [PATCH 1/4] test: add 'GDB' prereq to 'atomicity' tests
\r
34 Date: Fri, 13 May 2011 10:17:13 +0200
\r
35 Message-Id: <1305274636-19975-2-git-send-email-pieter@praet.org>
\r
36 X-Mailer: git-send-email 1.7.4.1
\r
37 In-Reply-To: <1305274636-19975-1-git-send-email-pieter@praet.org>
\r
38 References: <1305274636-19975-1-git-send-email-pieter@praet.org>
\r
39 Cc: Austin Clements <amdragon@mit.edu>
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\r
43 List-Id: "Use and development of the notmuch mail system."
\r
44 <notmuch.notmuchmail.org>
\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
48 List-Post: <mailto:notmuch@notmuchmail.org>
\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
52 X-List-Received-Date: Fri, 13 May 2011 08:17:53 -0000
\r
54 Signed-off-by: Pieter Praet <pieter@praet.org>
\r
56 test/atomicity | 10 ++++++++--
\r
57 1 files changed, 8 insertions(+), 2 deletions(-)
\r
59 diff --git a/test/atomicity b/test/atomicity
\r
60 index cd58c4c..78280b2 100755
\r
61 --- a/test/atomicity
\r
62 +++ b/test/atomicity
\r
63 @@ -7,6 +7,12 @@ test_description='atomicity'
\r
64 # final database contents should be the same regardless of when (or
\r
65 # if) it is killed and restarted.
\r
68 +if test_expect_success "prereq: GDB is present" "which gdb"; then
\r
69 + test_set_prereq GDB
\r
73 # Create a maildir structure to also stress flag synchronization
\r
76 @@ -89,8 +95,8 @@ for ((i = 0; i < $outcount; i++)); do
\r
80 -test_expect_equal "$(cat searchall)" "$(cat expectall)"
\r
81 +test_expect_equal GDB "$(cat searchall)" "$(cat expectall)"
\r
83 -test_expect_success "detected $outcount>10 abort points" "test $outcount -gt 10"
\r
84 +test_expect_success GDB "detected $outcount>10 abort points" "test $outcount -gt 10"
\r