On 3/9/07, Mumia W.. <[EMAIL PROTECTED]> wrote:
> t/File-FilterFuncs....
> #   Failed test 'simple copy'
> #   at t/File-FilterFuncs.t line 17.
>
> #   Failed test 'simple copy with function'
> #   at t/File-FilterFuncs.t line 21.
>
> #   Failed test 'use "filter_funcs" (alternate name)'
> #   at t/File-FilterFuncs.t line 105.
>
> #   Failed test '$KEEP_LINE value'
> #   at t/File-FilterFuncs.t line 119.
> # Looks like you failed 4 tests of 12.
> dubious
>       Test returned status 4 (wstat 1024, 0x400)
> DIED. FAILED tests 1-2, 9, 11
>       Failed 4/12 tests, 66.67% okay
> Failed Test          Stat Wstat Total Fail  List of Failed
> 
-------------------------------------------------------------------------------
> t/File-FilterFuncs.t    4  1024    12    4  1-2 9 11

I don't have access to a Windows system for testing, so I'm not clear on
exactly what in my code is causing these tests to fail.

Since some tests worked and others didn't, I suspect that you've got a
line-ending issue. The tests that fail all seem to diff against
source.txt and they don't use a binmode or other translation.  diffs
where you print to a testfile and then compare that to the output of
the filter seem to work.  Setting binmode and boutmode to ":raw" seems
to make at least the simple copy test pass, so I suspect the rest are
similar issues.

Regards,
David

Reply via email to