Fred Moyer wrote: > Please find attached a patch which adds t_write_test_lib, a method use > to create temporary perl packages used in testing. The patch adds a > temp dir to @INC in modperl_inc.pl. > > - Fred > > [...] > Index: lib/Apache/TestUtil.pm > =================================================================== > [...] > @@ -191,6 +191,14 @@ > return $fh; > } > > +sub _temp_package_dir { > + return catdir(tmpdir(), 'apache_test'); > +}
How do you make sure that tmp directory gets cleaned up at the end of the test run ? -- Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature