conformtest tampering with $HOME
Thomas Schwinge
thomas@codesourcery.com
Mon Mar 19 21:43:00 GMT 2012
Hi!
On Mon, 19 Mar 2012 15:29:36 -0400, Carlos O'Donell <carlos@systemhalted.org> wrote:
> 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.
I might subscribe to that (even though $TMPDIR or /tmp wouldn't be
uncommon, too).
> > 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
As I suggested, this is a different patch, which would touch all of glibc
that is using temporary files.
> 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).
As you can guess I'm well aware of that :-). That's why my patch moves
the scratch directory into the build directory.
Grüße,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120319/72198425/attachment.sig>
More information about the Libc-alpha
mailing list