Project

General

Profile

Actions

Backport #4679

closed

openssl test failure on 1.9.2p204 on Windows/mingw

Added by jonforums (Jon Forums) over 13 years ago. Updated over 8 years ago.

Status:
Rejected
[ruby-core:36147]

Description

While testing 1.9.2 backports on a Win7 32-bit build of ruby_1_9_2 using the RubyInstaller build recipes, the following openssl test failure occurs.

I can't replicate the failure on Win7 or Arch using trunk@31534. I will try to replicate with Arch using ruby_1_9_2 and report back if relevant. FYI, running "make test" completes without errors.

irb(main):001:0> require 'openssl'
irb(main):002:0> OpenSSL::OPENSSL_VERSION
=> "OpenSSL 1.0.0d 8 Feb 2011"

sh-3.1$ gcc --version
gcc.exe (tdm-1) 4.5.2
sh-3.1$ ruby --version
ruby 1.9.2p204 (2011-05-12 revision 31519) [i386-mingw32]
sh-3.1$ make test-all TESTS=openssl
./miniruby.exe -I../../../../Users/Jon/Documents/RubyDev/ruby-git/lib -I.ext/common -I./-
-r../../../../Users/Jon/Documents/RubyDev/ruby-git/ext/purelib.rb ../../../../Users/Jon/D
ocuments/RubyDev/ruby-git/tool/runruby.rb --extout=.ext -- "../../../../Users/Jon/Documen
ts/RubyDev/ruby-git/test/runner.rb" openssl
Loaded suite ../../../../Users/Jon/Documents/RubyDev/ruby-git/test/runner
Started
............S..............................................E..............................
..
Finished in 9.998572 seconds.

  1. Skipped:
    test_freeze(OpenSSL::TestConfig) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/tes
    t_config.rb:6]:
    need an argument for OpenSSL::Config.new on Windows

  2. Error:
    test_not_started_session(OpenSSL::TestSSL):
    Errno::EBADF: Bad file descriptor - c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/t
    est_ssl.rb
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/openssl/ssl-internal.rb
    :82:in fcntl' c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/openssl/ssl-internal.rb :82:in initialize'
    c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_ssl.rb:165:in initialize' c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_ssl.rb:165:in new'
    c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_ssl.rb:165:in block in test _not_started_session' c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_ssl.rb:164:in open'
    c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_ssl.rb:164:in `test_not_star
    ted_session'

92 tests, 1272 assertions, 0 failures, 1 errors, 1 skips

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0