in reply to Re: Unit test - check file created using test::directory
in thread Unit test - check file created using test::directory
Sorry. Should have been clearer. The following lines do not actually throw an error as far as I can see. They just don't do what I was hoping/expecting they would do - ie clean up the files and directories after the test.
#cleanup after the test - this fails so far $dir->remove_files($log_file); $dir->remove_directories($log_dir); $dir->clean($log_dir);
The commented rmtree command (when commented in and in scope) returns "cannot unlink file for unit-test-temp\xyz.log".
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Unit test - check file created using test::directory
by Bloodnok (Vicar) on Jul 04, 2014 at 15:10 UTC |