Re: [PATCH] test: create TEST_TMPDIR for holding temporary files
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 16 Nov 2011 19:28:26 +0000 (11:28 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:14 +0000 (09:40 -0800)
0a/ece86164ebd37a2ec3f092555e2a505fc080b8 [new file with mode: 0644]

diff --git a/0a/ece86164ebd37a2ec3f092555e2a505fc080b8 b/0a/ece86164ebd37a2ec3f092555e2a505fc080b8
new file mode 100644 (file)
index 0000000..8d9a86b
--- /dev/null
@@ -0,0 +1,90 @@
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id ACB8D429E28\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 11:28:42 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ctCsH3Bbnl22 for <notmuch@notmuchmail.org>;\r
+       Wed, 16 Nov 2011 11:28:42 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1F9E4431FD0\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 11:28:42 -0800 (PST)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 9025966E01E5;\r
+       Wed, 16 Nov 2011 11:28:35 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (DHCP-123-180.caltech.edu [131.215.123.180])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id AF2C666E0121;\r
+       Wed, 16 Nov 2011 11:28:28 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 1B7732A72; Wed, 16 Nov 2011 11:28:29 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] test: create TEST_TMPDIR for holding temporary files\r
+In-Reply-To: <yf6bosbsx4j.fsf@taco2.nixu.fi>\r
+References: <yf6bosbsx4j.fsf@taco2.nixu.fi>\r
+User-Agent: Notmuch/0.9+81~gd8cf814 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 16 Nov 2011 11:28:26 -0800\r
+Message-ID: <87ipmj989x.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 16 Nov 2011 19:28:42 -0000\r
+\r
+--=-=-=\r
+\r
+On Wed, 16 Nov 2011 21:09:00 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+> +# Note: TEST_TMPDIR *NOT* exported!\r
+> +TEST_TMPDIR=$(mktemp -d "${TMPDIR:-/tmp}/notmuch-test-$$.XXXXXX")\r
+\r
+Hi, Tomi.  I don't think you need to do any of the variable gymnastics\r
+if you use the mktemp --tempdir option, which uses TMPDIR if set, but\r
+falls back to /tmp otherwise.  This functionality is in the gnu version\r
+of mktemp at least.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJOxA7aAAoJEO00zqvie6q8obcQAIxfPVe2Z1W2uo96ROP/jcSg\r
+JR95wE4oQNttMfUFnpHFRYk3/PZLGMICpAy8v8myHsSiWJh1g7e2/TelOxOsl9l8\r
+sCOqGnUewCBPiQG4vLES+0XKFzNmEwF3Dxmz1nOO9xj6CDSXA45lQO04A+pTFTtG\r
+wWAd1LH1ic0QYfxdT4qZAueDJDNq+xGoTlZdOrcvF6KayZw3DSA8yjx1NjSEWOJh\r
+VHNCdyGKxvYqewVwyqhosP19lwo7LAOIN68DvFSe8m5ZWzxd6PiMU8qBwequC9o4\r
+7re6eN02Ry9zKLz2FuFOlnLM6ytM6xVrrJdwrfYxUlVa7zwyOmZU2F5h3IC22BlF\r
+6TdPnsH2QTr8KbW5vPXW+j7feXf1WCLsRMeOpyAN0IcQq9D482CHbbfZ82EElsxC\r
+1ByICyzQnFzRZ8yK0vRMp7bzqZ/tPXgbRKpjX5EgfX91uTtKudC6qXFitvwZgECk\r
+QiMIMqAJecif1VwsPifPdgQN+HUs2bU8sOeXV+BRmpGCUGqVJLCeIkk3xEp9WfKl\r
+IawOJ7BX+6VHQOYYJ+/lYVMLmE1Pc5jVKEQszhNXP/c8UeyZbA2sj6Aq93zRPWkl\r
+0s7dNZqTzRMxeQr9/tOekZ77Er35sY11Qmc7WV/gUrEcW54/k4i1Ar7giHgi6kWJ\r
+ClCK6Hf5l/kocGyYslpc\r
+=mTI4\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r