From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [patch][test] Avoid writes to non-temp test-example files Date: Thu, 05 Jan 2012 18:01:48 +0100 Message-ID: <87ty4a13sz.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riqhk-0007ua-FR for emacs-orgmode@gnu.org; Thu, 05 Jan 2012 12:02:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Riqhe-0003hD-Ok for emacs-orgmode@gnu.org; Thu, 05 Jan 2012 12:02:16 -0500 Received: from lo.gmane.org ([80.91.229.12]:55532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riqhe-0003ga-Je for emacs-orgmode@gnu.org; Thu, 05 Jan 2012 12:02:10 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RiqhV-0004R0-PL for emacs-orgmode@gnu.org; Thu, 05 Jan 2012 18:02:01 +0100 Received: from pd9eb3af7.dip.t-dialin.net ([217.235.58.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 18:02:01 +0100 Received: from Stromeko by pd9eb3af7.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 18:02:01 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Martyn Jago writes: > Attached is a patch to modify all tests that currently write to non-temp > test-example files such as `testing/babel.org'. Instead, the tests now > write to temp files, which are thrown away at the conclusion of the > test. With NTemacs24 on Win7, if neither TMP nor TEMP environment variables are set, it choses C:\ as the temp directory, which isn't writable for normal users. This makes all tests fail that write to temporary files. I'm not sure how exactly it ends up with C:\, but this should either be fixed or we need to make sure that TEMP or TMP is set from Makefile before running tests. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada