1 Return-Path: <flo@chaoflow.net>
\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 71D63431FB6
\r
6 for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 10:41:43 -0700 (PDT)
\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 LdVcU1jA6kkA for <notmuch@notmuchmail.org>;
\r
16 Mon, 18 Apr 2011 10:41:43 -0700 (PDT)
\r
17 Received: from tesla.chaoflow.net (tesla.chaoflow.net [188.40.54.22])
\r
18 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id CF1FF431FB5
\r
21 for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 10:41:42 -0700 (PDT)
\r
22 Received: from eve.chaoflow.net (p5DE9670C.dip.t-dialin.net [93.233.103.12])
\r
23 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
24 (No client certificate requested)
\r
25 (Authenticated sender: flo@chaoflow.net)
\r
26 by tesla.chaoflow.net (Postfix) with ESMTPSA id 2A0AACAC4
\r
27 for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 19:41:40 +0200 (CEST)
\r
28 Received: by eve.chaoflow.net (Postfix, from userid 1000) id C1303B35;
\r
29 Mon, 18 Apr 2011 17:41:39 +0000 (Local time zone must be set--see zic
\r
31 From: Florian Friesdorf <flo@chaoflow.net>
\r
32 To: notmuch@notmuchmail.org
\r
33 Subject: [PATCH] create and set temporary home directory
\r
34 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1
\r
35 (x86_64-unknown-linux-gnu)
\r
36 Date: Mon, 18 Apr 2011 19:41:39 +0200
\r
37 Message-ID: <877har5uek.fsf@eve.chaoflow.net>
\r
39 Content-Type: text/plain; charset=us-ascii
\r
40 X-Virus-Scanned: clamav-milter 0.96.5 at tesla
\r
41 X-Virus-Status: Clean
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Mon, 18 Apr 2011 17:41:43 -0000
\r
57 My first patch send to the list, not sure whether done properly.
\r
59 In the master branch in test/emacs two tests access the build users home
\r
60 directory, so does emacs_deliver_message in the crypto branch.
\r
62 I think the tests should not touch the build user's home directory. The
\r
63 patch creates a directory in the temporary test directory and sets home
\r
66 In case of a non-existent home directory, the tests are failing without
\r
70 test/test-lib.sh | 7 +++++++
\r
71 1 files changed, 7 insertions(+), 0 deletions(-)
\r
73 diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
74 index 9581ead..43dae21 100755
\r
75 --- a/test/test-lib.sh
\r
76 +++ b/test/test-lib.sh
\r
77 @@ -923,6 +923,13 @@ rm -fr "$test" || {
\r
81 +# A temporary home directory is needed by at least:
\r
82 +# - emacs/"Sending a message via (fake) SMTP"
\r
83 +# - emacs/"Reply within emacs"
\r
84 +# - crypto/emacs_deliver_message
\r
85 +export HOME="${TMP_DIRECTORY}/home"
\r
88 MAIL_DIR="${TMP_DIRECTORY}/mail"
\r
89 export GNUPGHOME="${TMP_DIRECTORY}/gnupg"
\r
90 export NOTMUCH_CONFIG="${TMP_DIRECTORY}/notmuch-config"
\r
99 Florian Friesdorf <flo@chaoflow.net>
\r
100 GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083
\r
101 Jabber/XMPP: flo@chaoflow.net
\r
102 IRC: chaoflow on freenode,ircnet,blafasel,OFTC
\r