This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: conformtest tampering with $HOME


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]