Re: Idea for a smoke setup: read-only home directory

2008-07-04 Thread James E Keenan
David Cantrell wrote: On Tue, Jun 17, 2008 at 09:40:02PM -0400, David Golden wrote: There also seem to be some things in ~/tmp/ That's on linux. It's worse on Win32. Lots of stuff winds up dumped in c:\. In one case, I think there were several thousand tiny directories. On *nix I

Re: Idea for a smoke setup: read-only home directory

2008-07-04 Thread James E Keenan
David Golden wrote: So I keep noticing litter in my home directory while running the smoker. It looks like either temp files or default locations for things. I consider that bad behavior for tests. I have been guilty of that *in the past*. During my rewrite of ExtUtils::ModuleMaker in

Re: Idea for a smoke setup: read-only home directory

2008-07-04 Thread James E Keenan
imacat wrote: In my test script I create a temporarily directory as the home directory and set the HOME environemnt variable to it. After the tests are finished that directory is removed with File::Path::rmtree() and the HOME environment variable is restored. A very good suggestion --