This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Do not leave files behind in /tmp from testing
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 15 Oct 2015 14:14:36 -0700 (PDT)
- Subject: Re: Do not leave files behind in /tmp from testing
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1510152049430 dot 6002 at digraph dot polyomino dot org dot uk>
> * io/tst-fcntl.c (do_prepare): Do not call add_temp_file here.
> (do_test): Call add_temp_file here instead.
This is a regression in the TEST_DIRECT case. Is there a reason you can't
move the mkstemp call into do_prepare as is done in other test cases?