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".
In reply to Re^2: Unit test - check file created using test::directory
by APGRMF
in thread Unit test - check file created using test::directory
by APGRMF
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |