12-fail.t: fix most tests on Win32
authorOlivier Mengué <dolmen@cpan.org>
Sat, 8 Sep 2012 06:36:24 +0000 (08:36 +0200)
committerOlivier Mengué <dolmen@cpan.org>
Sat, 8 Sep 2012 08:13:08 +0000 (10:13 +0200)
commitc0662b43b1c86733553afed7453012f25c6360e9
tree94518b40c83bcbe1d2a6771724f558b24b32a442
parent14caafa1672403a6f27ba56997ddf0e6a8f43dc5
12-fail.t: fix most tests on Win32

Fix almost all tests on Win32 by NEVER using raw ^M.

The rule: DO NOT USE RAW ^M IN SOURCE CODE. That's not portable!
Avoiding those problems is the point of disallowing ^M with Test:EOL. I can't
understand why the Test::EOL maintainers didn't apply that rule to themselves.

Test 'make_bad_file_3' is so broken that I don't understand what it is
supposed to do, so I just translated raw ^M to "\r" for now.
t/12-fail.t