public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/13888] New: /tmp usage during testing
@ 2012-03-21 17:36 tschwinge at sourceware dot org
2012-03-21 21:55 ` [Bug build/13888] " joseph at codesourcery dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: tschwinge at sourceware dot org @ 2012-03-21 17:36 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13888
Bug #: 13888
Summary: /tmp usage during testing
Product: glibc
Version: unspecified
Status: NEW
Severity: minor
Priority: P2
Component: build
AssignedTo: unassigned@sourceware.org
ReportedBy: tschwinge@sourceware.org
CC: carlos@systemhalted.org
Classification: Unclassified
As a follow-up for
<http://sourceware.org/ml/libc-alpha/2012-03/msg00778.html> as well as
earlier reports:
During testing, several glibc tests use temporary files directly located
directly in /tmp/ (and with predicatable names, even), which is not
acceptable: preferably these should be located in the build directory
(from where testing is run), and/or at least use mktemp and similar.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/13888] /tmp usage during testing
2012-03-21 17:36 [Bug build/13888] New: /tmp usage during testing tschwinge at sourceware dot org
@ 2012-03-21 21:55 ` joseph at codesourcery dot com
2012-10-19 23:35 ` jsm28 at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: joseph at codesourcery dot com @ 2012-03-21 21:55 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13888
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-03-21 17:36:10 UTC ---
FWIW, I noted this issue in
<http://sourceware.org/ml/libc-alpha/2000-10/msg00111.html>, but didn't
follow up with a patch.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/13888] /tmp usage during testing
2012-03-21 17:36 [Bug build/13888] New: /tmp usage during testing tschwinge at sourceware dot org
2012-03-21 21:55 ` [Bug build/13888] " joseph at codesourcery dot com
@ 2012-10-19 23:35 ` jsm28 at gcc dot gnu.org
2013-10-11 17:56 ` neleai at seznam dot cz
2013-10-16 4:57 ` carlos at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-10-19 23:35 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13888
--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-10-19 23:34:18 UTC ---
The io/ftwtest-sh case is fixed by:
commit d528cdcfdef2f0eb3932749aa9894db7c18101f4
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Oct 19 20:01:45 2012 +0000
Use working directory, not /tmp, in io/ftwtest-sh.
Other tests using fixed filenames in /tmp remain to be fixed.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/13888] /tmp usage during testing
2012-03-21 17:36 [Bug build/13888] New: /tmp usage during testing tschwinge at sourceware dot org
2012-03-21 21:55 ` [Bug build/13888] " joseph at codesourcery dot com
2012-10-19 23:35 ` jsm28 at gcc dot gnu.org
@ 2013-10-11 17:56 ` neleai at seznam dot cz
2013-10-16 4:57 ` carlos at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: neleai at seznam dot cz @ 2013-10-11 17:56 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=13888
Ondrej Bilka <neleai at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |neleai at seznam dot cz
--- Comment #3 from Ondrej Bilka <neleai at seznam dot cz> ---
After running git grep '"/tmp' | grep -v "XXX" and bit of filtering files with
hardcoded tmpname are following:
conform/conformtest.pl:$tmpdir = "/tmp";
nptl/sockperf.c:#define PATH "/tmp/s.sockperf"
nptl/tst-umask1.c:#define TEST_FUNCTION do_test (argc < 2 ?
"/tmp/tst-umask.tmp" : argv[1])
stdio-common/bug3.c: const char filename[] = "/tmp/bug3.test";
stdio-common/bug4.c: const char filename[] = "/tmp/bug4.test";
stdio-common/bug5.c: static char inname[] = "/tmp/bug5.in";
stdio-common/bug5.c: static char outname[] = "/tmp/bug5.out";
stdio-common/scanf14.c: tmpdir = "/tmp";
stdio-common/scanf15.c: tmpdir = "/tmp";
stdio-common/scanf16.c: tmpdir = "/tmp";
stdio-common/scanf17.c: tmpdir = "/tmp";
stdio-common/test-fseek.c:#define TESTFILE "/tmp/test.dat"
stdio-common/test-popen.c: perror ("/tmp/tstpopen.tmp");
stdio-common/test-popen.c: remove ("/tmp/tstpopen.tmp");
stdio-common/test_rdwr.c: (void) sprintf (filename, "/tmp/%s.test", name);
~
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/13888] /tmp usage during testing
2012-03-21 17:36 [Bug build/13888] New: /tmp usage during testing tschwinge at sourceware dot org
` (2 preceding siblings ...)
2013-10-11 17:56 ` neleai at seznam dot cz
@ 2013-10-16 4:57 ` carlos at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: carlos at redhat dot com @ 2013-10-16 4:57 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=13888
--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Ondrej Bilka from comment #3)
> After running git grep '"/tmp' | grep -v "XXX" and bit of filtering files
> with hardcoded tmpname are following:
>
> conform/conformtest.pl:$tmpdir = "/tmp";
> nptl/sockperf.c:#define PATH "/tmp/s.sockperf"
> nptl/tst-umask1.c:#define TEST_FUNCTION do_test (argc < 2 ?
> "/tmp/tst-umask.tmp" : argv[1])
> stdio-common/bug3.c: const char filename[] = "/tmp/bug3.test";
> stdio-common/bug4.c: const char filename[] = "/tmp/bug4.test";
> stdio-common/bug5.c: static char inname[] = "/tmp/bug5.in";
> stdio-common/bug5.c: static char outname[] = "/tmp/bug5.out";
> stdio-common/scanf14.c: tmpdir = "/tmp";
> stdio-common/scanf15.c: tmpdir = "/tmp";
> stdio-common/scanf16.c: tmpdir = "/tmp";
> stdio-common/scanf17.c: tmpdir = "/tmp";
> stdio-common/test-fseek.c:#define TESTFILE "/tmp/test.dat"
> stdio-common/test-popen.c: perror ("/tmp/tstpopen.tmp");
> stdio-common/test-popen.c: remove ("/tmp/tstpopen.tmp");
> stdio-common/test_rdwr.c: (void) sprintf (filename, "/tmp/%s.test", name);
> ~
We need to fix all of these :-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-10-16 4:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21 17:36 [Bug build/13888] New: /tmp usage during testing tschwinge at sourceware dot org
2012-03-21 21:55 ` [Bug build/13888] " joseph at codesourcery dot com
2012-10-19 23:35 ` jsm28 at gcc dot gnu.org
2013-10-11 17:56 ` neleai at seznam dot cz
2013-10-16 4:57 ` carlos at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).