1 Return-Path: <too@guru-group.fi>
\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 3820D431FB6
\r
6 for <notmuch@notmuchmail.org>; Wed, 21 Nov 2012 07:16:23 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 tyIOS1uHjnTe for <notmuch@notmuchmail.org>;
\r
16 Wed, 21 Nov 2012 07:16:19 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id C09C5431FAF
\r
19 for <notmuch@notmuchmail.org>; Wed, 21 Nov 2012 07:16:18 -0800 (PST)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 1151F100148; Wed, 21 Nov 2012 17:16:16 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH 1/1] test: always source test-lib.sh as ./test-lib.sh
\r
25 Date: Wed, 21 Nov 2012 17:16:14 +0200
\r
26 Message-Id: <1353510974-7084-1-git-send-email-tomi.ollila@iki.fi>
\r
27 X-Mailer: git-send-email 1.8.0
\r
28 Cc: tomi.ollila@iki.fi, Tomi Ollila <too@iki.fi>
\r
29 X-BeenThere: notmuch@notmuchmail.org
\r
30 X-Mailman-Version: 2.1.13
\r
32 List-Id: "Use and development of the notmuch mail system."
\r
33 <notmuch.notmuchmail.org>
\r
34 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
35 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
36 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
37 List-Post: <mailto:notmuch@notmuchmail.org>
\r
38 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
39 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
41 X-List-Received-Date: Wed, 21 Nov 2012 15:16:23 -0000
\r
43 From: Tomi Ollila <too@iki.fi>
\r
45 There are currently 45 TESTS scripts. 36 of those load
\r
46 test-lib.sh using '. ./test-lib.sh' and 9 '. test-lib.sh'.
\r
48 In latter case test-lib.sh is first searched from directories
\r
49 in PATH (posix) and then from current directory (bash feature).
\r
51 Changed the 9 files to execute '. ./test-lib.sh'. The test-lib.sh
\r
52 should never be loaded from directory in PATH.
\r
56 test/emacs-address-cleaning | 2 +-
\r
57 test/emacs-hello | 2 +-
\r
58 test/emacs-large-search-buffer | 2 +-
\r
59 test/emacs-show | 2 +-
\r
60 test/emacs-subject-to-filename | 2 +-
\r
61 test/emacs-test-functions | 2 +-
\r
62 test/help-test | 2 +-
\r
63 9 files changed, 9 insertions(+), 9 deletions(-)
\r
65 diff --git a/test/config b/test/config
\r
66 index 93ecb13..cfa1f32 100755
\r
72 test_description='"notmuch config"'
\r
76 test_begin_subtest "Get string value"
\r
77 test_expect_equal "$(notmuch config get user.name)" "Notmuch Test Suite"
\r
78 diff --git a/test/emacs b/test/emacs
\r
79 index 77265b0..ba3bbd0 100755
\r
85 test_description="emacs interface"
\r
89 EXPECTED=$TEST_DIRECTORY/emacs.expected-output
\r
91 diff --git a/test/emacs-address-cleaning b/test/emacs-address-cleaning
\r
92 index 6ddde5c..0472346 100755
\r
93 --- a/test/emacs-address-cleaning
\r
94 +++ b/test/emacs-address-cleaning
\r
98 test_description="emacs address cleaning"
\r
102 test_begin_subtest "notmuch-test-address-clean part 1"
\r
103 test_emacs_expect_t '(notmuch-test-address-cleaning-1)'
\r
104 diff --git a/test/emacs-hello b/test/emacs-hello
\r
105 index 48d1420..f729616 100755
\r
106 --- a/test/emacs-hello
\r
107 +++ b/test/emacs-hello
\r
109 #!/usr/bin/env bash
\r
111 test_description="emacs notmuch-hello view"
\r
115 EXPECTED=$TEST_DIRECTORY/emacs.expected-output
\r
117 diff --git a/test/emacs-large-search-buffer b/test/emacs-large-search-buffer
\r
118 index 4351e33..678328d 100755
\r
119 --- a/test/emacs-large-search-buffer
\r
120 +++ b/test/emacs-large-search-buffer
\r
122 #!/usr/bin/env bash
\r
123 test_description="Emacs with large search results buffer"
\r
128 x=$x$x$x$x$x$x$x$x$x$x # 100
\r
129 diff --git a/test/emacs-show b/test/emacs-show
\r
130 index ec3be8b..b670abf 100755
\r
131 --- a/test/emacs-show
\r
132 +++ b/test/emacs-show
\r
134 #!/usr/bin/env bash
\r
136 test_description="emacs notmuch-show view"
\r
140 EXPECTED=$TEST_DIRECTORY/emacs-show.expected-output
\r
142 diff --git a/test/emacs-subject-to-filename b/test/emacs-subject-to-filename
\r
143 index a0ffdfe..43529a4 100755
\r
144 --- a/test/emacs-subject-to-filename
\r
145 +++ b/test/emacs-subject-to-filename
\r
147 #!/usr/bin/env bash
\r
149 test_description="emacs: mail subject to filename"
\r
153 # emacs server can't be started in a child process with $(test_emacs ...)
\r
154 test_emacs '(ignore)'
\r
155 diff --git a/test/emacs-test-functions b/test/emacs-test-functions
\r
156 index 0e1f9fc..ca4a798 100755
\r
157 --- a/test/emacs-test-functions
\r
158 +++ b/test/emacs-test-functions
\r
160 #!/usr/bin/env bash
\r
162 test_description="emacs test function sanity"
\r
166 test_begin_subtest "emacs test function sanity"
\r
167 test_emacs_expect_t 't'
\r
168 diff --git a/test/help-test b/test/help-test
\r
169 index 9f4b9c7..f7df725 100755
\r
170 --- a/test/help-test
\r
171 +++ b/test/help-test
\r
173 #!/usr/bin/env bash
\r
175 test_description="online help"
\r
179 test_expect_success 'notmuch --help' 'notmuch --help'
\r
180 test_expect_success 'notmuch --help tag' 'notmuch --help tag'
\r