mschilli / log4perl

Log4j Implementation For Perl
http://log4perl.com
Other
116 stars 66 forks source link

Fix test failure due to quirk of unlink on Windows #100

Closed itsuki-hayashi closed 4 years ago

itsuki-hayashi commented 4 years ago

unlink on Windows does not delete the file instantly, and the Log4perl default to append, which cause the t/026FileApp.t to fail.

This fixes https://github.com/mschilli/log4perl/issues/77

mohawk2 commented 4 years ago

Another approach that also works (before I checked to see if someone else had beaten me to it, well done) is to rename the file being used in the second test.

mohawk2 commented 4 years ago

Thanks!