Re: apreqXXXXXX temp files remain after processing uploads greater than 256kb. Further large upload fails

Joe Schaefer <[email protected]>
Newsgroups gmane.comp.apache.apreq
Message-ID <[email protected]>
Steve Hay <[email protected]> writes:

> I tried your patch with the current svn version (revision 518242), but I'm
> still seeing intermittent failures (usually in tests 15, 16 and/or 20) either
> when I run "nmake test" from the top-level, or when I run:
>
> perl -Iblib/arch -Iblib/lib t/TEST -verbose=1 t/apreq/upload.t
>
> from the glue/perl sub-directory :-(

Posting some diagnostic output might help.  Anything in the error logs?
Are you seeing any lingering tempfiles, and if so, are they
prefixed with apreqXXXX (ie coming from apreq_file_mktemp),
or are they from the test scripts?

Randy, I see a lot of stuff like

   unlink $file if -f $file;

in the upload.t tests, which might need to be changed to 

   unlink $file or die "Can't unlink $file: $!";

-- 
Joe Schaefer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.