There's more than one way to do things | |
PerlMonks |
Re^2: Unit test - check file created using test::directoryby APGRMF (Novice) |
on Jul 04, 2014 at 07:28 UTC ( [id://1092249]=note: print w/replies, xml ) | Need Help?? |
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.
The commented rmtree command (when commented in and in scope) returns "cannot unlink file for unit-test-temp\xyz.log".
In Section
Seekers of Perl Wisdom
|
|