Actions
Bug #12443
closedTest failures in TestDir_M17N on cygwin
Description
When I try to run bin/ruby test/runner.rb test/ruby/test_*
(because make test-all
doesn't work), I get the following failures for TestDir_M17N:
[ 594/4545] TestDir#test_glob_cases = 0.35 s
2) Failure:
TestDir#test_glob_cases [/cygdrive/c/Data/ruby/test/ruby/test_dir.rb:255]:
[ruby-core:42469] [Feature #5994]
Dir.glob should return the filename with actual cases on the filesystem.
<["FileWithCases"]> expected but was
<["filewithcases"]>.
[ 608/4545] TestDir_M17N#test_entries_compose = 0.01 s
3) Error:
TestDir_M17N#test_entries_compose:
ArgumentError: invalid byte sequence in Windows-31J
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:408:in `block (2 levels) in test_entries_compose'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:408:in `reject'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:408:in `block in test_entries_compose'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:9:in `block (2 levels) in with_tmpdir'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:8:in `chdir'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:8:in `block in with_tmpdir'
/cygdrive/c/Data/ruby/lib/ruby/vendor_ruby/tmpdir.rb:89:in `mktmpdir'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:7:in `with_tmpdir'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:397:in `test_entries_compose'
[ 610/4545] TestDir_M17N#test_filename_as_bytes_extutf8 = 0.98 s
4) Failure:
TestDir_M17N#test_filename_as_bytes_extutf8 [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:87]:
Expected [".", "..", "\xC2\xA1"] to include "¡".
[ 611/4545] TestDir_M17N#test_filename_bytes_euc_jp = 0.83 s
5) Failure:
TestDir_M17N#test_filename_bytes_euc_jp [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:185]:
Expected [".", "..", "\xEF\x82\xA4\xEF\x82\xA2"] to include "\xA4\xA2".
[ 612/4545] TestDir_M17N#test_filename_euc_jp = 0.86 s
6) Failure:
TestDir_M17N#test_filename_euc_jp [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:200]:
Expected [".", "..", "\x{EF82}\xA4\x{EF82}\xA2"] to include "▒▒".
[ 613/4545] TestDir_M17N#test_filename_ext_euc_jp_and_int_utf_8 = 0.90 s
7) Failure:
TestDir_M17N#test_filename_ext_euc_jp_and_int_utf_8 [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:245]:
Expected [".", "..", "\x{EF82}\xA4\x{EF82}\xA2"] to include "▒▒".
[ 614/4545] TestDir_M17N#test_filename_extutf8 = 0.91 s
8) Failure:
TestDir_M17N#test_filename_extutf8 [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:54]:
Expected [".", "..", "\x{E381}\x82"] to include "あ".
[ 615/4545] TestDir_M17N#test_filename_extutf8_inteucjp_representable = 0.88 s
9) Failure:
TestDir_M17N#test_filename_extutf8_inteucjp_representable [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:124]:
Expected [".", "..", "\x{E381}\x82"] to include "あ".
[ 616/4545] TestDir_M17N#test_filename_extutf8_inteucjp_unrepresentable = 1.14 s
10) Failure:
TestDir_M17N#test_filename_extutf8_inteucjp_unrepresentable [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:150]:
Expected [".", "..", "\x{E299}\xA1", "\x{E381}\x82"] to include "♡".
[ 617/4545] TestDir_M17N#test_filename_extutf8_invalid = 0.84 s
11) Failure:
TestDir_M17N#test_filename_extutf8_invalid [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:67]:
Expected [".", "..", "\x{EF83}\xBF"] to include "\xFF".
[ 618/4545] TestDir_M17N#test_filename_utf8_raw_jp_name = 0.67 s
12) Failure:
TestDir_M17N#test_filename_utf8_raw_jp_name [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:224]:
Expected [".", "..", "\x{E381}\x82"] to include "あ".
[ 619/4545] TestDir_M17N#test_filename_utf8_raw_windows_1251_name = 0.69 s
13) Failure:
TestDir_M17N#test_filename_utf8_raw_windows_1251_name [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:228]:
Expected [".", "..", "\xD0\xA4"] to include "Ф".
[ 620/4545] TestDir_M17N#test_filename_utf8_raw_windows_1252_name = 0.60 s
14) Failure:
TestDir_M17N#test_filename_utf8_raw_windows_1252_name [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:232]:
Expected [".", "..", "\xC3\x86"] to include "Æ".
[ 622/4545] TestDir_M17N#test_glob_encoding = 0.01 s
15) Error:
TestDir_M17N#test_glob_encoding:
Encoding::UndefinedConversionError: "\x87\xE4" from Windows-31J to UTF-8
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:382:in `encode'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:382:in `block (2 levels) in test_glob_encoding'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:378:in `map'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:378:in `block in test_glob_encoding'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:9:in `block (2 levels) in with_tmpdir'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:8:in `chdir'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:8:in `block in with_tmpdir'
/cygdrive/c/Data/ruby/lib/ruby/vendor_ruby/tmpdir.rb:89:in `mktmpdir'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:7:in `with_tmpdir'
/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:367:in `test_glob_encoding'
[ 625/4545] TestDir_M17N#test_glob_warning_match_all = 0.15 s
16) Failure:
TestDir_M17N#test_glob_warning_match_all [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:339]:
Expected: /ΑΒΓΔΕ/
Actual: "".
[ 626/4545] TestDir_M17N#test_glob_warning_match_dir = 0.01 s
17) Failure:
TestDir_M17N#test_glob_warning_match_dir [/cygdrive/c/Data/ruby/test/ruby/test_dir_m17n.rb:350]:
Expected: /ΑΒΓΔΕ/
Actual: "".
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0