Project

General

Profile

Bug #12446

Failure of TestM17NComb#test_str_crypt_nonstrict on cygwin

Added by duerst (Martin Dürst) over 3 years ago. Updated over 3 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.">.

Associated revisions

Revision 7e053ffe
Added by nobu (Nobuyoshi Nakada) over 3 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 55233
Added by nobu (Nobuyoshi Nakada) over 3 years ago

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]

Revision 55233
Added by nobu (Nobuyoshi Nakada) over 3 years ago

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]

Revision 55233
Added by nobu (Nobuyoshi Nakada) over 3 years ago

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]

Revision 55233
Added by nobu (Nobuyoshi Nakada) over 3 years ago

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]

Revision b7c5eba7
Added by nagachika (Tomoyuki Chikanaga) over 3 years ago

merge revision(s) 55233: [Backport #12446]

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 55907
Added by nagachika (Tomoyuki Chikanaga) over 3 years ago

merge revision(s) 55233: [Backport #12446]

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

Revision 6fa7bf5e
Added by usa (Usaku NAKAMURA) over 3 years ago

merge revision(s) 55233: [Backport #12446]

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 55938
Added by usa (Usaku NAKAMURA) over 3 years ago

merge revision(s) 55233: [Backport #12446]

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

History

Updated by duerst (Martin Dürst) over 3 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) over 3 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) over 3 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) over 3 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) over 3 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