Subject: | predictable file in /tmp |
t/06_scrub_file......
# Failed test 'scrub($html,$tmpfile=/tmp/html-scrubber.test.html)'
# at t/06_scrub_file.t line 25.
# got: 'Error: $@= $!=Keine Berechtigung'
# expected: '1'
can't write to /tmp/html-scrubber.test.html at t/06_scrub_file.t line 30.
# Looks like you planned 10 tests but only ran 3.
# Looks like you failed 1 test of 3 run.
# Looks like your test died just after 3.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-10
Failed 8/10 tests, 20.00% okay
The first bug is that the tmp file was not cleaned up and left ove from
a different user in /tmp/. Generally it is considered a security issue
to put predictable files into /tmp. File::Temp should be used instead.
Thanks,