# from David Golden
# on Thursday 15 January 2009 21:07:

>That's probably not quite enough -- I think it means being a bit
> smarter about temp directories and files, as the M::B tests tend to
> re-use a directory over and over again. (They also seem to use both
> './t/_tmp' and './t/_tmp$$')

I hope we're exclusively using the "t/_tmp$$" if only for the sake of 
parallelizable tests.  Please point-out anything you've seen that does 
otherwise.

This should, I think, mean that we never reuse a temp directory.  Though 
perhaps within a single test file, but that could be solved with more 
granularity.  In theory, simply not cleaning-up the temp directories 
would not be a problem unless the pid repeats.  (Except where we're 
actually testing for having deleted files, which could (yes) be 
skipped.)

And should we should instead be using File::Temp's tempdir anyway?

Thanks,
Eric
-- 
Minimum wage help gives you minimum service.
--David Schomer
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to