This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: conformtest tampering with $HOME
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Thomas Schwinge <thomas at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org, Ulrich Drepper <drepper at gmail dot com>
- Date: Mon, 19 Mar 2012 15:29:36 -0400
- Subject: Re: conformtest tampering with $HOME
- References: <871uoojt49.fsf@schwinge.name>
On Mon, Mar 19, 2012 at 3:19 PM, Thomas Schwinge
<thomas@codesourcery.com> wrote:
> Why would in $HOME be a better place for storing temporary files than /tmp?
> (And why that is described as a bug fix?) ?Surely storing files directly
> in /tmp is not optimal either, but several glibc tests act this way (and
> should be fixed). ?Anyway, OK to commit the following patch? ?With it,
> things look more comforting, compared to pristine glibc sources:
I don't think we should be touching anything outside of the build directory.
> ? ? ? ?Don't tamper with $HOME.
>
> ? ? ? ?* conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
> ? ? ? ?* conform/run-conformtest.sh: Pass --tmpdir argument when invoking
> ? ? ? ?conformtest.pl
We should default to TMPDIR if set (SuSv), otherwise /tmp, and the
subdirectory used should be unique to allow for multiple simultaneous
testsuite runs on the same machine (which happens often in Mentor's
build farm).
Cheers,
Carlos.