Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

t/examples/streams.t issue on Windows

4 views
Skip to first unread message

Ron Blaschke

unread,
Apr 9, 2006, 10:38:31 AM4/9/06
to perl6-i...@perl.org
t/examples/streams.t fails on Windows with something like

# got: 'read:[ 1 =head1 INFORMATION\015]
# read:[ 2 \015]
.........
# expected: 'read:[ 1 =head1 INFORMATION]
# read:[ 2 ]

and

# got: 'read:[=head1 INFORMATION\015\n\015\nThis small example shows the]
# read:[ usage of C<Stream::ParrotIO>.\015\n\015\nIt reads this fi]
.........
# expected: 'read:[=head1 INFORMATION\n\nThis small example shows the u]
# read:[sage of C<Stream::ParrotIO>.\n\nIt reads this file w]

The test assumes that F<examples/streams/FileLines.pir> and
F<examples/streams/ParrotIO.pir> have LF line separators, but are CRLF
on Windows because their "svn:eol-style" is "native".

With LF as line separator the tests work fine.

t\examples\streams....ok
All tests successful.
Files=1, Tests=12, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)

So I guess the "svn:eol-style" for the files should be changed to
"LF". (Or the tests should normalize CRLF to LF.)

Ron

0 new messages