Hi Shlomi,

Shlomi Fish wrote:

Here is another failing test report for Test-Count on MS Windows:

http://www.cpantesters.org/cpan/report/303b21da-55cd-101b-b0bd-c0f01c721f4d

I'm trying to figure out why it keeps complaining that it cannot write to
the files in the temporary directory (which was a workaround for the fact that
it could not write into files under t/data/** ).

Tried to run this tests on my machine, this failure is reproducible.
It's failing because "with-include.t" is read-only, and File::Copy::copy 
produces read-only file as well.
You can either change its permissions from 444 to 644 in distribution file, or 
set it to read-write in your test.

It's actually some kind of weird behavior of File::Copy, which doesn't keep permissions on Linux and keeps them on Windows, OS/2 and VMS -- reasons unknown.

--
Serguei Trouchelle

Reply via email to