dos2unix fails tests
Hanspeter Niederstrasser <[email protected]> Wed, 19 Jul 2017 07:05:16 -0500
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 10.11, dos2unix fails self tests. The test group 'utf16_gb.t' is run if zh_CN.gb18030 is available (see test/Makefile). This check is the same as for gb18030.t, which is already commented out in PatchScript. So it seems reasonable to assume that other tests based on zh_CN.gb18030 should also be commented out. *** begin failing test section *** utf16_gb.t .. 1..3 dos2unix: Input file utf16le.txt has UTF-16LE BOM. dos2unix: Illegal byte sequence dos2unix: Skipping UTF-16 file utf16le.txt, an UTF-16 conversion error occurred on line 1. out_unix.txt gb18030u.txt differ: char 1, line 1 not ok 1 - dos2unix convert DOS UTF-16LE to Unix GB18030 # Failed test 'dos2unix convert DOS UTF-16LE to Unix GB18030' # at utf16_gb.t line 27. dos2unix: Input file utf16le.txt has UTF-16LE BOM. dos2unix: Writing GB18030 BOM. dos2unix: Illegal byte sequence dos2unix: Skipping UTF-16 file utf16le.txt, an UTF-16 conversion error occurred on line 1. out_unix.txt gb18030b.txt differ: char 1, line 1 not ok 2 - dos2unix convert DOS UTF-16LE to Unix GB18030, keep BOM # Failed test 'dos2unix convert DOS UTF-16LE to Unix GB18030, keep BOM' # at utf16_gb.t line 30. unix2dos: Input file utf16be.txt has UTF-16BE BOM. unix2dos: Writing GB18030 BOM. unix2dos: Illegal byte sequence unix2dos: Skipping UTF-16 file utf16be.txt, an UTF-16 conversion error occurred on line 1. out_dos.txt gb18030.txt differ: char 1, line 1 not ok 3 - unix2dos convert DOS UTF-16BE to DOS GB18030, keep BOM # Failed test 'unix2dos convert DOS UTF-16BE to DOS GB18030, keep BOM' # at utf16_gb.t line 33. # Looks like you failed 3 tests of 3. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/3 subtests Test Summary Report ------------------- utf16_gb.t (Wstat: 768 Tests: 3 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 Files=7, Tests=116, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.54 cusr 0.47 csys = 1.08 CPU) *** end failing test section *** Hanspeter ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fink-devel mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel