Re: gui release
[notmuch-archives.git] / 0c / 05ca57221e6819c5bf7c35fe4e75dc47ffe1bd
1 Return-Path: <joel.borggren.franck@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 ACC34431FB6\r
6         for <notmuch@notmuchmail.org>; Wed,  1 Dec 2010 12:28:38 -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 1lQJrUL4aZsu for <notmuch@notmuchmail.org>;\r
17         Wed,  1 Dec 2010 12:28:38 -0800 (PST)\r
18 Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
19         [209.85.215.181])\r
20         by olra.theworths.org (Postfix) with ESMTP id 9B519431FB5\r
21         for <notmuch@notmuchmail.org>; Wed,  1 Dec 2010 12:28:37 -0800 (PST)\r
22 Received: by eyb6 with SMTP id 6so4396064eyb.26\r
23         for <notmuch@notmuchmail.org>; Wed, 01 Dec 2010 12:28:34 -0800 (PST)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
25         h=domainkey-signature:received:received:from:to:subject:date\r
26         :message-id:x-mailer:mime-version:content-type\r
27         :content-transfer-encoding;\r
28         bh=1MPGwTLaLBv6y1z+FI4wk4LnIRRfv3g/SFOYNo6oVRo=;\r
29         b=Y7Ly6bFiW9Q+uYZSyDo/9YVNBSH4Vq4JzkpfaR6V/ztMw4XmoaRkvCRz7bbvK8BoUF\r
30         QqC3jhdGZmQhyuXPvygr1ro192O9kaWx8sKk/9rfs6zXeJmAPwJkemGDvIpz3QA4kRHM\r
31         iEGQnjfAbJ2LM3H5ZZTQX8dCL5CfryyzGuZxg=\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
33         h=from:to:subject:date:message-id:x-mailer:mime-version:content-type\r
34         :content-transfer-encoding;\r
35         b=tW8WHCFDeJytd3xBXjMI90YQKCQYPPk2aIJR8beGCYcc0sCXG0hZumZn6z+M5+RcDp\r
36         E9A8OALAs6klLY4Sf4o4oJmEZj2GBwr8hebgNqbDWknEp6oUwQminZosTrBnGPp+MLXF\r
37         xx3n/UUT1DSabCPXNFjtxvUwKOALaG+v2PNjE=\r
38 Received: by 10.14.48.12 with SMTP id u12mr7966951eeb.34.1291235314270;\r
39         Wed, 01 Dec 2010 12:28:34 -0800 (PST)\r
40 Received: from localhost.localdomain (c80-216-237-236.bredband.comhem.se\r
41         [80.216.237.236])\r
42         by mx.google.com with ESMTPS id y5sm52871eeh.22.2010.12.01.12.28.33\r
43         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
44         Wed, 01 Dec 2010 12:28:33 -0800 (PST)\r
45 From: =?UTF-8?q?Joel=20Borggr=C3=A9n-Franck?= <joel.borggren.franck@gmail.com>\r
46 To: notmuch@notmuchmail.org\r
47 Subject: [PATCH] test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances\r
48         portability\r
49 Date: Wed,  1 Dec 2010 21:27:52 +0100\r
50 Message-Id: <1291235272-16335-1-git-send-email-joel.borggren.franck@gmail.com>\r
51 X-Mailer: git-send-email 1.7.3.2\r
52 MIME-Version: 1.0\r
53 Content-Type: text/plain; charset=UTF-8\r
54 Content-Transfer-Encoding: 8bit\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Wed, 01 Dec 2010 20:28:38 -0000\r
68 \r
69 From: Joel BorggrĂ©n-Franck <jbf@codehouse.se>\r
70 \r
71 Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way\r
72 systems running on bash < 4 can prepend bash >= 4 to path before\r
73 running the tests.\r
74 ---\r
75  test/README               |    6 +++---\r
76  test/aggregate-results.sh |    2 +-\r
77  test/author-order         |    2 +-\r
78  test/basic                |    2 +-\r
79  test/dump-restore         |    2 +-\r
80  test/emacs                |    2 +-\r
81  test/encoding             |    2 +-\r
82  test/from-guessing        |    2 +-\r
83  test/json                 |    2 +-\r
84  test/long-id              |    2 +-\r
85  test/maildir-sync         |    2 +-\r
86  test/new                  |    2 +-\r
87  test/notmuch-test         |    2 +-\r
88  test/raw                  |    2 +-\r
89  test/reply                |    2 +-\r
90  test/search               |    2 +-\r
91  test/search-output        |    2 +-\r
92  test/test-lib.sh          |    2 +-\r
93  test/test-verbose         |    2 +-\r
94  test/thread-naming        |    2 +-\r
95  test/thread-order         |    2 +-\r
96  test/uuencode             |    2 +-\r
97  test/valgrind/valgrind.sh |    2 +-\r
98  23 files changed, 25 insertions(+), 25 deletions(-)\r
99 \r
100 diff --git a/test/README b/test/README\r
101 index ebaa3cf..07da480 100644\r
102 --- a/test/README\r
103 +++ b/test/README\r
104 @@ -68,11 +68,11 @@ remaining tests to be unaffected.\r
105  \r
106  Writing Tests\r
107  -------------\r
108 -The test script is written as a shell script.  It should start\r
109 -with the standard "#!/bin/bash" with copyright notices, and an\r
110 +The test script is written as a shell script.  It should start with\r
111 +the standard "#!/usr/bin/env bash" with copyright notices, and an\r
112  assignment to variable 'test_description', like this:\r
113  \r
114 -       #!/bin/bash\r
115 +       #!/usr/bin/env bash\r
116         #\r
117         # Copyright (c) 2005 Junio C Hamano\r
118         #\r
119 diff --git a/test/aggregate-results.sh b/test/aggregate-results.sh\r
120 index 0f1ea33..732d6ca 100755\r
121 --- a/test/aggregate-results.sh\r
122 +++ b/test/aggregate-results.sh\r
123 @@ -1,4 +1,4 @@\r
124 -#!/bin/sh\r
125 +#!/usr/bin/env bash\r
126  \r
127  fixed=0\r
128  success=0\r
129 diff --git a/test/author-order b/test/author-order\r
130 index 9f0b931..2d79873 100755\r
131 --- a/test/author-order\r
132 +++ b/test/author-order\r
133 @@ -1,4 +1,4 @@\r
134 -#!/bin/bash\r
135 +#!/usr/bin/env bash\r
136  test_description="author reordering;"\r
137  . ./test-lib.sh\r
138  \r
139 diff --git a/test/basic b/test/basic\r
140 index 309779c..e20e994 100755\r
141 --- a/test/basic\r
142 +++ b/test/basic\r
143 @@ -1,4 +1,4 @@\r
144 -#!/bin/bash\r
145 +#!/usr/bin/env bash\r
146  #\r
147  # Copyright (c) 2005 Junio C Hamano\r
148  #\r
149 diff --git a/test/dump-restore b/test/dump-restore\r
150 index 0d78f01..a4de370 100755\r
151 --- a/test/dump-restore\r
152 +++ b/test/dump-restore\r
153 @@ -1,4 +1,4 @@\r
154 -#!/bin/bash\r
155 +#!/usr/bin/env bash\r
156  test_description="\"notmuch dump\" and \"notmuch restore\""\r
157  . ./test-lib.sh\r
158  \r
159 diff --git a/test/emacs b/test/emacs\r
160 index 75dec89..baa6f3d 100755\r
161 --- a/test/emacs\r
162 +++ b/test/emacs\r
163 @@ -1,4 +1,4 @@\r
164 -#!/bin/bash\r
165 +#!/usr/bin/env bash\r
166  test_description="emacs interface"\r
167  . test-lib.sh\r
168  \r
169 diff --git a/test/encoding b/test/encoding\r
170 index 68cb8ee..673b039 100755\r
171 --- a/test/encoding\r
172 +++ b/test/encoding\r
173 @@ -1,4 +1,4 @@\r
174 -#!/bin/bash\r
175 +#!/usr/bin/env bash\r
176  test_description="encoding issues"\r
177  . ./test-lib.sh\r
178  \r
179 diff --git a/test/from-guessing b/test/from-guessing\r
180 index 6744e68..d8727bb 100755\r
181 --- a/test/from-guessing\r
182 +++ b/test/from-guessing\r
183 @@ -1,4 +1,4 @@\r
184 -#!/bin/bash\r
185 +#!/usr/bin/env bash\r
186  test_description="From line heuristics (with multiple configured addresses)"\r
187  . ./test-lib.sh\r
188  \r
189 diff --git a/test/json b/test/json\r
190 index 7fe2a27..1978f8b 100755\r
191 --- a/test/json\r
192 +++ b/test/json\r
193 @@ -1,4 +1,4 @@\r
194 -#!/bin/bash\r
195 +#!/usr/bin/env bash\r
196  test_description="--format=json output"\r
197  . ./test-lib.sh\r
198  \r
199 diff --git a/test/long-id b/test/long-id\r
200 index 84f9294..85e620f 100755\r
201 --- a/test/long-id\r
202 +++ b/test/long-id\r
203 @@ -1,4 +1,4 @@\r
204 -#!/bin/bash\r
205 +#!/usr/bin/env bash\r
206  test_description="messages with ridiculously-long message IDs"\r
207  . ./test-lib.sh\r
208  \r
209 diff --git a/test/maildir-sync b/test/maildir-sync\r
210 index 50a5b8e..2b43127 100755\r
211 --- a/test/maildir-sync\r
212 +++ b/test/maildir-sync\r
213 @@ -1,4 +1,4 @@\r
214 -#!/bin/bash\r
215 +#!/usr/bin/env bash\r
216  \r
217  test_description="maildir synchronization"\r
218  \r
219 diff --git a/test/new b/test/new\r
220 index 7b396ae..1b7296e 100755\r
221 --- a/test/new\r
222 +++ b/test/new\r
223 @@ -1,4 +1,4 @@\r
224 -#!/bin/bash\r
225 +#!/usr/bin/env bash\r
226  test_description='"notmuch new" in several variations'\r
227  . ./test-lib.sh\r
228  \r
229 diff --git a/test/notmuch-test b/test/notmuch-test\r
230 index 43565e8..d753c81 100755\r
231 --- a/test/notmuch-test\r
232 +++ b/test/notmuch-test\r
233 @@ -1,4 +1,4 @@\r
234 -#!/bin/bash\r
235 +#!/usr/bin/env bash\r
236  \r
237  # Run tests\r
238  #\r
239 diff --git a/test/raw b/test/raw\r
240 index 4ed237c..b7e265a 100755\r
241 --- a/test/raw\r
242 +++ b/test/raw\r
243 @@ -1,4 +1,4 @@\r
244 -#!/bin/bash\r
245 +#!/usr//bin/env bash\r
246  \r
247  test_description='notmuch show --format=raw'\r
248  . ./test-lib.sh\r
249 diff --git a/test/reply b/test/reply\r
250 index 99c3376..c0b8e26 100755\r
251 --- a/test/reply\r
252 +++ b/test/reply\r
253 @@ -1,4 +1,4 @@\r
254 -#!/bin/bash\r
255 +#!/usr/bin/env bash\r
256  test_description="\"notmuch reply\" in several variations"\r
257  . ./test-lib.sh\r
258  \r
259 diff --git a/test/search b/test/search\r
260 index b180c7f..2085fe6 100755\r
261 --- a/test/search\r
262 +++ b/test/search\r
263 @@ -1,4 +1,4 @@\r
264 -#!/bin/bash\r
265 +#!/usr/bin/env bash\r
266  test_description='"notmuch search" in several variations'\r
267  . ./test-lib.sh\r
268  \r
269 diff --git a/test/search-output b/test/search-output\r
270 index b414993..ef870bf 100755\r
271 --- a/test/search-output\r
272 +++ b/test/search-output\r
273 @@ -1,4 +1,4 @@\r
274 -#!/bin/bash\r
275 +#!/usr/bin/env bash\r
276  test_description='various settings for "notmuch search --output="'\r
277  . ./test-lib.sh\r
278  \r
279 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
280 index 04a4c14..89c9a4c 100644\r
281 --- a/test/test-lib.sh\r
282 +++ b/test/test-lib.sh\r
283 @@ -1,4 +1,4 @@\r
284 -#!/bin/bash\r
285 +#!/usr/bin/env bash\r
286  #\r
287  # Copyright (c) 2005 Junio C Hamano\r
288  #\r
289 diff --git a/test/test-verbose b/test/test-verbose\r
290 index f29a9c7..4100c05 100755\r
291 --- a/test/test-verbose\r
292 +++ b/test/test-verbose\r
293 @@ -1,4 +1,4 @@\r
294 -#!/bin/bash\r
295 +#!/usr/bin/env bash\r
296  \r
297  test_description='the verbosity options of the test framework itself.'\r
298  \r
299 diff --git a/test/thread-naming b/test/thread-naming\r
300 index bcc3d61..41b97d9 100755\r
301 --- a/test/thread-naming\r
302 +++ b/test/thread-naming\r
303 @@ -1,4 +1,4 @@\r
304 -#!/bin/bash\r
305 +#!/usr/bin/env bash\r
306  test_description="naming of threads with changing subject"\r
307  . ./test-lib.sh\r
308  \r
309 diff --git a/test/thread-order b/test/thread-order\r
310 index 1819fce..6c3a4b3 100755\r
311 --- a/test/thread-order\r
312 +++ b/test/thread-order\r
313 @@ -1,4 +1,4 @@\r
314 -#!/bin/bash\r
315 +#!/usr/bin/env bash\r
316  test_description="threading when messages received out of order"\r
317  . ./test-lib.sh\r
318  \r
319 diff --git a/test/uuencode b/test/uuencode\r
320 index d509320..d0d16bd 100755\r
321 --- a/test/uuencode\r
322 +++ b/test/uuencode\r
323 @@ -1,4 +1,4 @@\r
324 -#!/bin/bash\r
325 +#!/usr/bin/env bash\r
326  test_description="handling of uuencoded data"\r
327  . ./test-lib.sh\r
328  \r
329 diff --git a/test/valgrind/valgrind.sh b/test/valgrind/valgrind.sh\r
330 index 3bc90f5..78700c0 100755\r
331 --- a/test/valgrind/valgrind.sh\r
332 +++ b/test/valgrind/valgrind.sh\r
333 @@ -1,4 +1,4 @@\r
334 -#!/bin/sh\r
335 +#!/usr/bin/env bash\r
336  \r
337  base=$(basename "$0")\r
338  \r
339 -- \r
340 1.7.3.2\r
341 \r