httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
Subject Re: sub write_file
Date Fri, 31 Aug 2001 16:24:22 GMT
go ahead and create an Apache::TestUtil with this kind of stuff.  anything
to reduce duplication in the .t's is good.  as for cleaning up generated
files and directories, the gendir, genfile stuff won't work because .t's
are using a thawed config that is not saved (nor should it be).  something
that removes the files/directories for you with END or DESTROY would be
good.  that way they get cleaned up even if the test fails.

would also make things clear if all the TestUtil stuff gets prefixed with

View raw message