> -----Original Message----- > From: Doug MacEachern [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 16, 2001 11:20 AM > To: [EMAIL PROTECTED] > Subject: Re: TEST -clean for ServerRoot/logs > > > On Thu, 16 Aug 2001, Geoffrey Young wrote: > > > hi all... > > > > TEST -clean doesn't currently pick up the stuff Apache > creates in logs, so > > the logs directory itself isn't removed. > > it should already get those, does for me anyhow, look at > Apache::TestServer::clean:
is that the clean() that gets run, or is it Apache::TestConfig::clean()? I'm not that intimate with what is going on here, but from opt_clean() from TestRun would seem to indicate TestConfig? anyway, the logs directory isn't removed for me, but the files are, turns out - I guess I thought the directory wasn't picked up because it was full. [EMAIL PROTECTED] Apache-Test]$ make test ... ping.......ok request....ok All tests successful. Files=2, Tests=12, 4 wallclock secs ( 4.23 cusr + 0.25 csys = 4.48 CPU) server localhost:8529 shutdown (pid=26757) [EMAIL PROTECTED] Apache-Test]$ perl t/TEST -clean [EMAIL PROTECTED] Apache-Test]$ ll t/ total 24 drwxr-xr-x 2 geoff root 4096 Aug 9 09:44 CVS -rw-r--r-- 1 geoff root 642 Apr 3 00:35 TEST drwxr-xr-x 3 geoff root 4096 Aug 16 11:23 conf drwxr-xr-x 2 geoff root 4096 Aug 16 11:23 logs -rw-r--r-- 1 geoff root 238 Apr 2 05:01 ping.t -rw-r--r-- 1 geoff root 560 Apr 4 00:36 request.t [EMAIL PROTECTED] Apache-Test]$ ll t/logs total 0 > > though i'm tempted to rm logs/* to get rid of all the other > possible droppings. sounds like a good idea - I was just trying to follow the existing framework since I can't keep up with all the changes lately :) --Geoff
