conformtest tampering with $HOME

Carlos O'Donell carlos@systemhalted.org
Mon Mar 19 19:30:00 GMT 2012


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.



More information about the Libc-alpha mailing list