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 6AE44429E21
\r
6 for <notmuch@notmuchmail.org>; Mon, 28 Nov 2011 14:41:45 -0800 (PST)
\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 cN1cNih1O8e6 for <notmuch@notmuchmail.org>;
\r
17 Mon, 28 Nov 2011 14:41:45 -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 CC21B431FB6
\r
22 for <notmuch@notmuchmail.org>; Mon, 28 Nov 2011 14:41:44 -0800 (PST)
\r
23 Received: by mail-bw0-f53.google.com with SMTP id q10so9985561bka.26
\r
24 for <notmuch@notmuchmail.org>; Mon, 28 Nov 2011 14:41:44 -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:in-reply-to:references;
\r
27 bh=o/JPST/SR0wUpQ/i3oUWeD3K1c5xtgHb2tHLLdCSRHo=;
\r
28 b=BFXxkRBtPVTrzkA1qyrr8behb7jHwWa3fpbRlscoHqP0acetrSUhFYCRKU3FfnBzMI
\r
29 Lvy1PyBYN1Fa82RJwYzMM1HNd1ZzV7qDcFh0RaOP2quuaC6Yo+Il9twrvLldns+S/JaP
\r
30 0EfnC7SrGWdwKj91GKy/9OM4nfZMIVF0k2jZY=
\r
31 Received: by 10.205.139.11 with SMTP id iu11mr22155606bkc.82.1322520104483;
\r
32 Mon, 28 Nov 2011 14:41:44 -0800 (PST)
\r
33 Received: from localhost ([91.144.186.21])
\r
34 by mx.google.com with ESMTPS id cc2sm32778231bkb.8.2011.11.28.14.41.43
\r
35 (version=TLSv1/SSLv3 cipher=OTHER);
\r
36 Mon, 28 Nov 2011 14:41:43 -0800 (PST)
\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH 1/4] test: fix test_require_external_prereq()
\r
40 Date: Tue, 29 Nov 2011 02:41:04 +0400
\r
41 Message-Id: <1322520067-15227-2-git-send-email-dmitry.kurochkin@gmail.com>
\r
42 X-Mailer: git-send-email 1.7.7.3
\r
43 In-Reply-To: <1322520067-15227-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
44 References: <1322520067-15227-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Mon, 28 Nov 2011 22:41:45 -0000
\r
59 test_missing_external_prereq_${binary}_ variable indicates that the
\r
60 binary is missing. It must be set in test_declare_external_prereq()
\r
61 outside of the fake $binary() function.
\r
63 test/test-lib.sh | 2 +-
\r
64 1 files changed, 1 insertions(+), 1 deletions(-)
\r
66 diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
67 index 11e6646..d7282ff 100644
\r
68 --- a/test/test-lib.sh
\r
69 +++ b/test/test-lib.sh
\r
70 @@ -554,8 +554,8 @@ test_declare_external_prereq () {
\r
71 test "$#" = 2 && name=$2 || name="$binary(1)"
\r
73 hash $binary 2>/dev/null || eval "
\r
75 test_missing_external_prereq_${binary}_=t
\r
77 echo -n \"\$test_subtest_missing_external_prereqs_\" | grep -e \" $name \" ||
\r
78 test_subtest_missing_external_prereqs_=\"$test_subtest_missing_external_prereqs_ $name\"
\r