Subject: | /var/tmp/log.log is problematic |
The test suite seems to create a file /var/tmp/log.log --- this fact has a number of problems:
* the file name is predictable and lives in a "public" directory --- this could be a possible security problem
* the file is not removed after the test suite --- so if another user tries to run the test suite, then it will fail. This probably happened in http://www.cpantesters.org/cpan/report/3fa6b6fc-ec60-11e5-a389-d746c31b3e29
* having a fixed file name is possibly problematic on machines where the same module is tested for different perl versions in parallel
Probably it's best to use a temporary file name here (e.g. using File::Temp) and to unlink the file after use.