Project

General

Profile

Bug #12446

Failure of TestM17NComb#test_str_crypt_nonstrict on cygwin

Added by duerst (Martin Dürst) about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-05-31 trunk 55228) [x86_64-cygwin]
[ruby-core:75792]

Description

When resorting to bin/ruby test/runner.rb test/ruby/test_[j-z]* to get around the problem described in https://bugs.ruby-lang.org/issues/12445, I get an error for TestM17NComb#test_str_crypt_nonstrict, as follows:

[ 327/2665] TestM17NComb#test_str_crypt_nonstrict = 0.00 s
  1) Failure:
TestM17NComb#test_str_crypt_nonstrict [/cygdrive/c/Data/ruby/test/ruby/test_m17n_comb.rb:780]:
"".force_encoding("ASCII-8BIT").crypt("\xFE\xFE".force_encoding("EUC-JP")).
<"\xFE\xFE/.F/2.E.2/E"> expected but was
<"\xFE\xFE/.F...I.F3.">.

Updated by duerst (Martin Dürst) about 4 years ago

Other failures that may be related to this one:

[ 233/1101] TestString#test_crypt = 0.00 s
  2) Failure:
TestString#test_crypt [/cygdrive/c/Data/ruby/test/ruby/test_string.rb:529]:
<"aaGUC/JkO9/Sc"> expected but was
<"aa2.3FIJ.2J3E">.

[ 375/1101] TestString2#test_crypt = 0.00 s
  3) Failure:
TestString2#test_crypt [/cygdrive/c/Data/ruby/test/ruby/test_string.rb:529]:
<"aaGUC/JkO9/Sc"> expected but was
<"aa.2FFIIE2JJ.">.
#2

Updated by nobu (Nobuyoshi Nakada) about 4 years ago

  • Status changed from Open to Closed

Applied in changeset r55233.


crypt.c: fix size macros

  • missing/crypt.c: fix size macros to use configured values for platforms long is larger than 32bit. [ruby-core:75792] [Bug #12446]

Updated by usa (Usaku NAKAMURA) almost 4 years ago

  • Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) almost 4 years ago

  • Backport changed from 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: WONTFIX, 2.2: REQUIRED, 2.3: DONE

ruby_2_3 r55907 merged revision(s) 55233.

Updated by usa (Usaku NAKAMURA) almost 4 years ago

  • Backport changed from 2.1: WONTFIX, 2.2: REQUIRED, 2.3: DONE to 2.1: WONTFIX, 2.2: DONE, 2.3: DONE

ruby_2_2 r55938 merged revision(s) 55233.

Also available in: Atom PDF