Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 22 / 87b8e9794fb6f149178d700e7ce967cecfaa4d
1 Return-Path: <tomi.ollila@nixu.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 9F5EB429E21\r
6         for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 11:09:04 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 msZcE5vcQxKQ for <notmuch@notmuchmail.org>;\r
16         Wed, 16 Nov 2011 11:09:04 -0800 (PST)\r
17 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id D8256431FD0\r
21         for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 11:09:03 -0800 (PST)\r
22 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
23         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
24         pAGJ90f7015068\r
25         for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 21:09:00 +0200\r
26 From: Tomi Ollila <tomi.ollila@iki.fi>\r
27 To: <notmuch@notmuchmail.org>\r
28 Subject: [PATCH] test: create TEST_TMPDIR for holding temporary files\r
29 User-Agent: Notmuch/0.9+73~ged20210 (http://notmuchmail.org) Emacs/23.3.1\r
30         (i686-pc-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Wed, 16 Nov 2011 21:09:00 +0200\r
35 Message-ID: <yf6bosbsx4j.fsf@taco2.nixu.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Wed, 16 Nov 2011 19:09:04 -0000\r
51 \r
52 The TEST_TMPDIR if first needed to hold dtach's socket (due\r
53 to 108-character limit in socket file names). Later it can be\r
54 used to hold other temporary files; directory deleted at exit.\r
55 ---\r
56 \r
57 I'm not fully satisfied with variable name -- compare to\r
58 the use of TEST_DIRECTORY. Anyway it is the best I could\r
59 come up with -- to not invent yet one more naming convention.\r
60 \r
61 Sometime in the future we could rework the variable\r
62 names to have more consistent format.\r
63 \r
64  test/test-lib.sh |    3 +++\r
65  1 files changed, 3 insertions(+), 0 deletions(-)\r
66 \r
67 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
68 index 1ea7fa9..4cd0157 100755\r
69 --- a/test/test-lib.sh\r
70 +++ b/test/test-lib.sh\r
71 @@ -174,6 +174,7 @@ test_success=0\r
72  \r
73  die () {\r
74         code=$?\r
75 +       rm -rf "$TEST_TMPDIR"\r
76         if test -n "$GIT_EXIT_OK"\r
77         then\r
78                 exit $code\r
79 @@ -184,6 +185,8 @@ die () {\r
80  }\r
81  \r
82  GIT_EXIT_OK=\r
83 +# Note: TEST_TMPDIR *NOT* exported!\r
84 +TEST_TMPDIR=$(mktemp -d "${TMPDIR:-/tmp}/notmuch-test-$$.XXXXXX")\r
85  trap 'die' EXIT\r
86  \r
87  test_decode_color () {\r
88 --\r
89 1.7.7.3\r
90 \r