Project

General

Profile

Actions

Bug #1326

closed

Failing unit tests on windows

Added by cfis (Charlie Savage) over 15 years ago. Updated over 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2009-03-29) [i386-mswin32_90]
Backport:
[ruby-core:23054]

Description

=begin
The good news is that I've finally made it to the point where I can Ruby's test suite on windows (minus the hanging imap tests mentioned in #1324).

The not so good news is that there are 100 failures. I haven't run the tests on Linux or OS X, so I don't know if this number is good or bad.

Anyway, I've attached the list of failures below mostly for documentation purposes, but it sure would be nice if they could get fixed in time. Note these were run using a debug version of Ruby built with VC2008.


Finished in 1067.413000 seconds.

  1. Failure:
    test_imaps_post_connection_check(IMAPTest) [C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:59]:
    [OpenSSL::SSL::SSLError] exception expected, not
    Class:
    Message: <"getaddrinfo: The specified class was not found. ">
    ---Backtrace---
    C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:118:in initialize' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:118:in new'
    C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:118:in imaps_test' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:60:in block in test_imaps_post_connection_check'

  1. Failure:
    test_imaps_unknown_ca(IMAPTest) [C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:23]:
    [OpenSSL::SSL::SSLError] exception expected, not
    Class:
    Message: <"getaddrinfo: The specified class was not found. ">
    ---Backtrace---
    C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:118:in initialize' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:118:in new'
    C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:118:in imaps_test' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:24:in block in test_imaps_unknown_ca'

  1. Failure:
    test_imaps_verify_none(IMAPTest) [C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:47]:
    Exception raised:
    <#<SocketError: getaddrinfo: The specified class was not found. >>.

  2. Failure:
    test_imaps_with_ca_file(IMAPTest) [C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:35]:
    Exception raised:
    <#<SocketError: getaddrinfo: The specified class was not found. >>.

  3. Error:
    test_starttls(IMAPTest):
    SocketError: getaddrinfo: The specified class was not found.
    C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:156:in initialize' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:156:in new'
    C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:156:in starttls_test' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:72:in test_starttls'

  4. Error:
    test_unexpected_eof(IMAPTest):
    SocketError: getaddrinfo: The specified class was not found.
    C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:85:in initialize' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:85:in new'
    C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:85:in `test_unexpected_eof'

  5. Error:
    test_client_auth(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  6. Error:
    test_client_session(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  7. Error:
    test_connect_and_close(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  8. Error:
    test_parallel(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  9. Error:
    test_post_connection_check(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  10. Error:
    test_read_and_write(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  11. Error:
    test_server_session(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  12. Error:
    test_ssl_read_nonblock(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  13. Error:
    test_starttls(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  14. Error:
    test_tlsext_hostname(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  15. Failure:
    test_endblockwarn(TestBeginEndBlock) [C:/Development/src/ruby_trunk/test/ruby/test_beginendblock.rb:66]:
    <"endblockwarn_rb:2: warning: END in method; use at_exit\n(eval):2: warning: END in method; use at_exit\n"> expected but was
    <"">.

  16. Error:
    test_append(TestCSVInterface):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:103:in block in test_shift' C:/Development/src/ruby_trunk/test/csv/test_interface.rb:102:in test_shift'
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:252:in `test_append'

  17. Error:
    test_foreach(TestCSVInterface):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:33:in `test_foreach'

  18. Error:
    test_parse(TestCSVInterface):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:58:in `test_parse'

  19. Error:
    test_read_and_readlines(TestCSVInterface):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:80:in `test_read_and_readlines'

  20. Error:
    test_shift(TestCSVInterface):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:103:in block in test_shift' C:/Development/src/ruby_trunk/test/csv/test_interface.rb:102:in test_shift'

  21. Error:
    test_table(TestCSVInterface):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:96:in `test_table'

  22. Error:
    test_write_hash_with_headers_array(TestCSVInterface):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:194:in block in test_write_hash_with_headers_array' C:/Development/src/ruby_trunk/test/csv/test_interface.rb:192:in test_write_hash_with_headers_array'

  23. Error:
    test_write_hash_with_headers_string(TestCSVInterface):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:216:in block in test_write_hash_with_headers_string' C:/Development/src/ruby_trunk/test/csv/test_interface.rb:213:in test_write_hash_with_headers_string'

  24. Error:
    test_write_headers(TestCSVInterface):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_interface.rb:241:in block in test_write_headers' C:/Development/src/ruby_trunk/test/csv/test_interface.rb:238:in test_write_headers'

  25. Failure:
    test_03(TestDRbCore) [C:/Development/src/ruby_trunk/test/drb/drbtest.rb:143]:
    [ArgumentError] exception expected, not
    Class: DRb::DRbConnError
    Message: <"An existing connection was forcibly closed by the remote host.">
    ---Backtrace---
    C:/Development/src/ruby_trunk/test/drb/drbtest.rb:144:in block in test_03' C:/Development/src/ruby_trunk/test/drb/drbtest.rb:143:in test_03'


  1. Failure:
    test_04_many_arg(TestDRbLarge) [C:/Development/src/ruby_trunk/test/drb/test_drb.rb:286]:
    [ArgumentError] exception expected, not
    Class: DRb::DRbConnError
    Message: <"An existing connection was forcibly closed by the remote host.">
    ---Backtrace---
    C:/Development/src/ruby_trunk/test/drb/test_drb.rb:286:in block in test_04_many_arg' C:/Development/src/ruby_trunk/test/drb/test_drb.rb:286:in test_04_many_arg'

  1. Failure:
    test_systemcallerror_eq(TestDelegateClass) [C:/Development/src/ruby_trunk/test/test_delegate.rb:18]:
    [ruby-dev:34808]

  2. Error:
    test_err_in_callback(TestErrInCallBack):
    Errno::ENOENT: No such file or directory - test_err_in_callback.log
    C:/Development/src/ruby_trunk/test/win32ole/test_err_in_callback.rb:40:in unlink' C:/Development/src/ruby_trunk/test/win32ole/test_err_in_callback.rb:40:in teardown'

  3. Failure:
    test_group(TestEtc) [C:/Development/src/ruby_trunk/test/etc/test_etc.rb:66]:
    RuntimeError expected but nothing was raised.

  4. Failure:
    test_passwd(TestEtc) [C:/Development/src/ruby_trunk/test/etc/test_etc.rb:27]:
    RuntimeError expected but nothing was raised.

  5. Failure:
    test_gets_para_extended_file(TestFile) [C:/Development/src/ruby_trunk/test/ruby/test_file.rb:94]:
    mode = <>.
    <"a"> expected but was
    <"\na">.

  6. Failure:
    test_expand_path(TestFileExhaustive) [C:/Development/src/ruby_trunk/test/ruby/test_file_exhaustive.rb:389]:
    ArgumentError expected but nothing was raised.

  7. Failure:
    test_stat(TestFileExhaustive) [C:/Development/src/ruby_trunk/test/ruby/test_file_exhaustive.rb:80]:
    <2> expected but was
    <1>.

  8. Failure:
    test_stat_init(TestFileExhaustive) [C:/Development/src/ruby_trunk/test/ruby/test_file_exhaustive.rb:558]:
    <2> expected but was
    <1>.

  9. Failure:
    test_utime(TestFileExhaustive) [C:/Development/src/ruby_trunk/test/ruby/test_file_exhaustive.rb:338]:
    <2000-01-01 00:00:01 -0700> expected but was
    <1999-12-31 23:00:01 -0700>.

  10. Failure:
    test_copy_stream(TestFileUtils) [C:/Development/src/ruby_trunk/test/fileutils/test_fileutils.rb:934]:
    file data/a != tmp/a.
    Expected block to return true value.

  11. Failure:
    test_reorganize(TestGDBM) [C:/Development/src/ruby_trunk/test/gdbm/test_gdbm.rb:592]:
    expected but was
    .

  12. Failure:
    test_s_open_create_new(TestGDBM) [C:/Development/src/ruby_trunk/test/gdbm/test_gdbm.rb:86]:
    <420> expected but was
    <438>.

  13. Failure:
    test_s_open_error(TestGDBM) [C:/Development/src/ruby_trunk/test/gdbm/test_gdbm.rb:201]:
    [Errno::EACCES] exception expected, not
    Class: Errno::EWOULDBLOCK
    Message: <"A non-blocking socket operation could not be completed immediately. - C:/Users/cfis/AppData/Local/Temp/tmptest_gdbm20090329-7792-12ds5tj/tmptest_gdbm_7792">
    ---Backtrace---
    C:/Development/src/ruby_trunk/test/gdbm/test_gdbm.rb:201:in open' C:/Development/src/ruby_trunk/test/gdbm/test_gdbm.rb:201:in block in test_s_open_error'


  1. Failure:
    test_self_prefix(TestGem) [C:/Development/src/ruby_trunk/test/rubygems/test_gem.rb:369]:
    Expected "C:/Development/src/ruby_trunk", not nil.

  2. Failure:
    test_execute(TestGemCommandsEnvironmentCommand) [C:/Development/src/ruby_trunk/test/rubygems/test_gem_commands_environment_command.rb:26]:
    Expected /RUBYGEMS PREFIX: / to match "RubyGems Environment:\n - RUBYGEMS VERSION: 1.3.1\n - RUBY VERSION: 1.9.2 (2009-03-29 patchlevel -1) [i386-mswin32_90]\n - INSTALLATION DIRECTORY: C:/Users/cfis/AppData/Local/Temp/test_rubygems_7792/gemhome\n - RUBY EXECUTABLE: c:/Development/ruby-1.9.1/usr/bin/ruby.exe\n - EXECUTABLE DIRECTORY: C:/Users/cfis/AppData/Local/Temp/test_rubygems_7792/gemhome/bin\n - RUBYGEMS PLATFORMS:\n - ruby\n - x86-mswin32-60\n - GEM PATHS:\n - C:/Users/cfis/AppData/Local/Temp/test_rubygems_7792/gemhome\n - GEM CONFIGURATION:\n - :update_sources => true\n - :verbose => true\n - :benchmark => false\n - :backtrace => false\n - :bulk_threshold => 1000\n - REMOTE SOURCES:\n - http://gems.example.com\n".

  3. Failure:
    test_install_env_shebang(TestGemDependencyInstaller) [C:/Development/src/ruby_trunk/test/rubygems/test_gem_dependency_installer.rb:260]:
    Expected /\A#!/\S+/env ruby\n/ to match "#! ruby\n#\n# This file was generated by RubyGems.\n#\n# The application 'a' is installed as part of a gem, and\n# this file is here to facilitate running it.\n#\n\nrequire 'rubygems'\n\nversion = ">= 0"\n\nif ARGV.first =~ /^(.*)$/ and Gem::Version.correct? $1 then\n version = $1\n ARGV.shift\nend\n\ngem 'a', version\nload 'a_bin'\n".

  4. Failure:
    test_uninstall_doc_unwritable(TestGemDocManager) [C:/Development/src/ruby_trunk/test/rubygems/test_gem_doc_manager.rb:23]:
    Gem::FilePermissionError expected but nothing was raised.

  5. Error:
    test_self_build_has_makefile(TestGemExtConfigureBuilder):
    Gem::InstallError: make failed:

["nmake", "'nmake' is not recognized as an internal or external command,\noperable program or batch file.\n"]
C:/Development/src/ruby_trunk/test/rubygems/test_gem_ext_configure_builder.rb:72:in block in test_self_build_has_makefile' C:/Development/src/ruby_trunk/test/rubygems/test_gem_ext_configure_builder.rb:71:in chdir'
C:/Development/src/ruby_trunk/test/rubygems/test_gem_ext_configure_builder.rb:71:in `test_self_build_has_makefile'

  1. Error:
    test_class_make(TestGemExtExtConfBuilder):
    Gem::InstallError: make failed:

["nmake", "'nmake' is not recognized as an internal or external command,\noperable program or batch file.\n"]
C:/Development/src/ruby_trunk/test/rubygems/test_gem_ext_ext_conf_builder.rb:82:in block in test_class_make' C:/Development/src/ruby_trunk/test/rubygems/test_gem_ext_ext_conf_builder.rb:81:in chdir'
C:/Development/src/ruby_trunk/test/rubygems/test_gem_ext_ext_conf_builder.rb:81:in `test_class_make'

  1. Error:
    test_class_build(TestGemExtExtConfBuilder):
    Gem::InstallError: make failed:

["c:/Development/ruby-1.9.1/usr/bin/ruby.exe extconf.rb", "creating Makefile\n", "nmake", "'nmake' is not recognized as an internal or external command,\noperable program or batch file.\n"]
C:/Development/src/ruby_trunk/test/rubygems/test_gem_ext_ext_conf_builder.rb:24:in block in test_class_build' C:/Development/src/ruby_trunk/test/rubygems/test_gem_ext_ext_conf_builder.rb:23:in chdir'
C:/Development/src/ruby_trunk/test/rubygems/test_gem_ext_ext_conf_builder.rb:23:in `test_class_build'

  1. Failure:
    test_user_install_disabled_read_only(TestGemInstallUpdateOptions) [C:/Development/src/ruby_trunk/test/rubygems/test_gem_install_update_options.rb:54]:
    Gem::FilePermissionError expected but nothing was raised.

  2. Failure:
    test_generate_bin_symlink_no_perms(TestGemInstaller) [C:/Development/src/ruby_trunk/test/rubygems/test_gem_installer.rb:378]:
    Gem::FilePermissionError expected but nothing was raised.

  3. Failure:
    test_generate_bin_script_no_perms(TestGemInstaller) [C:/Development/src/ruby_trunk/test/rubygems/test_gem_installer.rb:293]:
    Gem::FilePermissionError expected but nothing was raised.

  4. Failure:
    test_shebang_env_shebang(TestGemInstaller) [C:/Development/src/ruby_trunk/test/rubygems/test_gem_installer.rb:821]:
    Expected "#!/usr/bin/env ruby", not "#! ruby".

  5. Skipped:
    test_close_on_exec(TestIO) [C:/Development/src/ruby_trunk/test/ruby/test_io.rb:1116]:
    IO#close_on_exec is not implemented.

  6. Skipped:
    test_copy_stream_rbuf(TestIO) [C:/Development/src/ruby_trunk/test/ruby/test_io.rb:401]:
    pread(2) is not implemtented.

  7. Skipped:
    test_write_nonblock(TestIO) [C:/Development/src/ruby_trunk/test/ruby/test_io.rb:852]:
    IO#write_nonblock is not supported on file/pipe.

  8. Error:
    test_208(TestIOScanf):
    TypeError: can't convert nil into String
    C:/Development/src/ruby_trunk/test/scanf/test_scanf.rb:314:in block (3 levels) in <class:TestIOScanf>' C:/Development/src/ruby_trunk/test/scanf/test_scanf.rb:313:in open'
    C:/Development/src/ruby_trunk/test/scanf/test_scanf.rb:313:in `block (2 levels) in class:TestIOScanf'

  9. Error:
    test_210(TestIOScanf):
    TypeError: can't convert nil into String
    C:/Development/src/ruby_trunk/test/scanf/test_scanf.rb:314:in block (3 levels) in <class:TestIOScanf>' C:/Development/src/ruby_trunk/test/scanf/test_scanf.rb:313:in open'
    C:/Development/src/ruby_trunk/test/scanf/test_scanf.rb:313:in `block (2 levels) in class:TestIOScanf'

  10. Failure:
    test_stdin_external_encoding_with_reopen(TestIO_M17N) [C:/Development/src/ruby_trunk/test/ruby/test_io_m17n.rb:905]:
    <"\xE3\x81\x82"> expected but was
    <"">.

  11. Failure:
    test_invokeverb(TestInvokeVerb) [C:/Development/src/ruby_trunk/test/win32ole/test_folderitem2_invokeverb.rb:66]:
    Failed assertion, no message given.

  12. Failure:
    test_filter_backtrace_unit_starts(TestMiniTest) [C:/Development/src/ruby_trunk/test/minitest/test_mini_test.rb:90]:
    Expected ["-e:1"], not ["C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:165:in __send__'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:165:in run_test_suites'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:161:in each'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:161:in run_test_suites'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:158:in each'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:158:in run_test_suites'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:139:in run'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:106:in run'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/mini/test.rb:29", "-e:1"].

  13. Failure:
    test_filter_backtrace(TestMiniTest) [C:/Development/src/ruby_trunk/test/minitest/test_mini_test.rb:60]:
    Expected ["lib/autotest.rb:571:in add_exception'", "test/test_autotest.rb:62:in test_add_exception'"], not ["lib/autotest.rb:571:in add_exception'", "test/test_autotest.rb:62:in test_add_exception'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:165:in __send__'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:165:in run_test_suites'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:161:in each'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:161:in run_test_suites'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:158:in each'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:158:in run_test_suites'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:139:in run'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:106:in run'", "C:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini/test.rb:29", "test/test_autotest.rb:422"].

  14. Failure:
    test_commandline(TestOpen3) [C:/Development/src/ruby_trunk/test/test_open3.rb:64]:
    <"quux"> expected but was
    <"">.

  15. Failure:
    test_extname(TestPath) [C:/Development/src/ruby_trunk/test/ruby/test_path.rb:230]:
    <""> expected but was
    <".rb">.

  16. Skipped:
    test_execopts_close_others(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:594]:
    inheritance of fd other than stdin,stdout and stderr is not supported

  17. Failure:
    test_execopts_env(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:251]:
    <"PATH\n"> expected but was
    <"PATH\nTMPDIR\n">.

  18. Failure:
    test_execopts_exec(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:500]:
    <"aaa\n"> expected but was
    <"">.

  19. Skipped:
    test_execopts_pgroup(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:149]:
    system(:pgroup) is not supported

  20. Skipped:
    test_execopts_popen(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:519]:
    inheritance of fd other than stdin,stdout and stderr is not supported

  21. Failure:
    test_execopts_redirect(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:335]:
    <"a\n0\n"> expected but was
    <"0\n">.

  22. Skipped:
    test_execopts_redirect_dup2_child(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:474]:
    inheritance of fd other than stdin,stdout and stderr is not supported

  23. Skipped:
    test_execopts_redirect_self(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:668]:
    IO#close_on_exec= is not supported

  24. Skipped:
    test_execopts_umask(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:292]:
    umask is not supported

  25. Skipped:
    test_fd_inheritance(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:550]:
    inheritance of fd other than stdin,stdout and stderr is not supported

  26. Failure:
    test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref) [C:/Development/src/ruby_trunk/test/rdoc/test_rdoc_markup_to_html_crossref.rb:142]:
    Expected "

    <a href="../files/C/Development/src/ruby_trunk/test/rdoc/rdoc_markup_to_html_crossref_reference_rb.html">C:/Development/src/ruby_trunk/test/rdoc/rdoc_markup_to_html_crossref_reference.rb

    ", not "

    C:/Development/src/ruby_trunk/test/rdoc/rdoc_markup_to_html_crossref_reference.rb

    ".
    C:/Development/src/ruby_trunk/test/rdoc/test_rdoc_markup_to_html_crossref.rb:142:in verify_file_crossref' C:/Development/src/ruby_trunk/test/rdoc/test_rdoc_markup_to_html_crossref.rb:211:in verify_invariant_crossrefs'
    C:/Development/src/ruby_trunk/test/rdoc/test_rdoc_markup_to_html_crossref.rb:234:in `test_handle_special_CROSSREF_no_underscore'
  27. Failure:
    test_readline(TestReadline) [C:/Development/src/ruby_trunk/test/readline/test_readline.rb:94]:
    <"> "> expected but was
    .

  28. Error:
    test_require_invalid_shared_object(TestRequire):
    IOError: closed stream
    C:/Development/src/ruby_trunk/test/ruby/envutil.rb:132:in read' C:/Development/src/ruby_trunk/test/ruby/envutil.rb:132:in block in assert_in_out_err'

  29. Failure:
    test_s_open_error(TestSDBM) [C:/Development/src/ruby_trunk/test/sdbm/test_sdbm.rb:124]:
    Errno::EACCES expected but nothing was raised.

  30. Error:
    test_io(TestSerialization):
    CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
    C:/Development/src/ruby_trunk/test/csv/test_serialization.rb:147:in `test_io'

  31. Error:
    test_accept_loop(TestSocket):
    NoMethodError: undefined method each' for nil:NilClass C:/Development/src/ruby_trunk/test/socket/test_socket.rb:202:in test_accept_loop'

  32. Error:
    test_accept_loop_multi_port(TestSocket):
    NoMethodError: undefined method each' for nil:NilClass C:/Development/src/ruby_trunk/test/socket/test_socket.rb:222:in test_accept_loop_multi_port'

  33. Error:
    test_initialize(TestSocket):
    Errno::EINVAL: Invalid argument - getsockname(2)
    C:/Development/src/ruby_trunk/test/socket/test_socket.rb:39:in getsockname' C:/Development/src/ruby_trunk/test/socket/test_socket.rb:39:in block in test_initialize'
    C:/Development/src/ruby_trunk/test/socket/test_socket.rb:38:in open' C:/Development/src/ruby_trunk/test/socket/test_socket.rb:38:in test_initialize'

  34. Error:
    test_linger(TestSocket):
    Errno::EINVAL: Invalid argument - getsockname(2)
    C:/Development/src/ruby_trunk/test/socket/test_socket.rb:304:in `test_linger'

  35. Error:
    test_tcp(TestSocket):
    Errno::EINVAL: Invalid argument - getsockname(2)
    C:/Development/src/ruby_trunk/test/socket/test_socket.rb:79:in block in test_tcp' C:/Development/src/ruby_trunk/test/socket/test_socket.rb:77:in open'
    C:/Development/src/ruby_trunk/test/socket/test_socket.rb:77:in `test_tcp'

  36. Error:
    test_tcp_server_sockets(TestSocket):
    Errno::EINVAL: Invalid argument - getsockname(2)
    C:/Development/src/ruby_trunk/test/socket/test_socket.rb:99:in `test_tcp_server_sockets'

  37. Error:
    test_tcp_server_sockets_port0(TestSocket):
    NoMethodError: undefined method each' for nil:NilClass C:/Development/src/ruby_trunk/test/socket/test_socket.rb:115:in test_tcp_server_sockets_port0'

  38. Error:
    test_udp_server(TestSocket):
    Errno::EINVAL: Invalid argument - getsockname(2)
    C:/Development/src/ruby_trunk/test/socket/test_socket.rb:260:in `test_udp_server'

  39. Error:
    test_addrinfo_new_inet6(TestSocketAddrinfo):
    SocketError: unexpected address family
    C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:449:in initialize' C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:449:in new'
    C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:449:in `test_addrinfo_new_inet6'

  40. Error:
    test_bind(TestSocketAddrinfo):
    Errno::EINVAL: Invalid argument - getsockname(2)
    C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:397:in `test_bind'

  41. Error:
    test_family_addrinfo(TestSocketAddrinfo):
    NoMethodError: undefined method unix' for Addrinfo:Class C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:320:in test_family_addrinfo'

  42. Error:
    test_ipv6_address_predicates(TestSocketAddrinfo):
    NoMethodError: undefined method ipv6_unspecified?' for #<Addrinfo: :: SOCK_DGRAM> C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:510:in block (2 levels) in test_ipv6_address_predicates'
    C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:502:in each' C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:502:in block in test_ipv6_address_predicates'
    C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:501:in each' C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:501:in test_ipv6_address_predicates'

  43. Error:
    test_ipv6_to_ipv4(TestSocketAddrinfo):
    NoMethodError: undefined method ipv6_to_ipv4' for #<Addrinfo: ::192.0.2.3> C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:538:in test_ipv6_to_ipv4'

  44. Error:
    test_listen(TestSocketAddrinfo):
    Errno::EINVAL: Invalid argument - getsockname(2)
    C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:409:in `test_listen'

  45. Error:
    test_recvmsg_nonblock_error(TestSocketNonblock):
    NotImplementedError: recvmsg_nonblock() function is unimplemented on this machine
    C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:208:in recvmsg_nonblock' C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:208:in block in test_recvmsg_nonblock_error'
    C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:129:in tcp_pair' C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:206:in test_recvmsg_nonblock_error'

  46. Error:
    test_sendmsg_nonblock_error(TestSocketNonblock):
    NotImplementedError: sendmsg_nonblock() function is unimplemented on this machine
    C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:196:in sendmsg_nonblock' C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:196:in block (2 levels) in test_sendmsg_nonblock_error'
    C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:196:in loop' C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:196:in block in test_sendmsg_nonblock_error'
    C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:129:in tcp_pair' C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:194:in test_sendmsg_nonblock_error'

  47. Failure:
    test_getsockopt(TestSocket_BasicSocket) [C:/Development/src/ruby_trunk/test/socket/test_basicsocket.rb:12]:
    IOError expected but nothing was raised.

  48. Failure:
    test_setsockopt(TestSocket_BasicSocket) [C:/Development/src/ruby_trunk/test/socket/test_basicsocket.rb:12]:
    IOError expected but nothing was raised.

  49. Failure:
    test_at3(TestTime) [C:/Development/src/ruby_trunk/test/ruby/test_time.rb:196]:
    [RangeError] exception expected, not
    Class:
    Message: <"time must be positive">
    ---Backtrace---
    C:/Development/src/ruby_trunk/test/ruby/test_time.rb:197:in at' C:/Development/src/ruby_trunk/test/ruby/test_time.rb:197:in block in test_at3'


  1. Error:
    test_basic(TestUnicodeEscape):
    ArgumentError: invalid byte sequence in UTF-8
    C:/Development/src/ruby_trunk/test/ruby/test_unicode_escape.rb:50:in `test_basic'

  2. Failure:
    test_cgi(TestWEBrickCGI) [C:/Development/src/ruby_trunk/test/webrick/test_cgi.rb:39]:
    webrick log start:
    [2009-03-29 01:37:09] INFO WEBrick 1.3.1
    [2009-03-29 01:37:09] INFO ruby 1.9.2 (2009-03-29) [i386-mswin32_90]
    [2009-03-29 01:37:09] INFO WEBrick::HTTPServer#start: pid=7792 port=54766
    [2009-03-29 01:37:09] WARN :RequestHandler is deprecated, please use :RequestCallback
    [2009-03-29 01:37:10] ERROR CGIHandler: C:/Development/src/ruby_trunk/test/webrick/webrick.cgi:
    Warning:C:/Development/src/ruby_trunk/lib/tmpdir.rb:14: Win32API is deprecated after Ruby 1.9.1; use dl directly instead

[2009-03-29 01:37:10] WARN :RequestHandler is deprecated, please use :RequestCallback
[2009-03-29 01:37:11] ERROR CGIHandler: C:/Development/src/ruby_trunk/test/webrick/webrick.cgi:
Warning:C:/Development/src/ruby_trunk/lib/tmpdir.rb:14: Win32API is deprecated after Ruby 1.9.1; use dl directly instead

[2009-03-29 01:37:11] WARN :RequestHandler is deprecated, please use :RequestCallback
[2009-03-29 01:37:12] ERROR CGIHandler: C:/Development/src/ruby_trunk/test/webrick/webrick.cgi:
Warning:C:/Development/src/ruby_trunk/lib/tmpdir.rb:14: Win32API is deprecated after Ruby 1.9.1; use dl directly instead

[2009-03-29 01:37:12] WARN :RequestHandler is deprecated, please use :RequestCallback
[2009-03-29 01:37:13] ERROR CGIHandler: C:/Development/src/ruby_trunk/test/webrick/webrick.cgi:
Warning:C:/Development/src/ruby_trunk/lib/tmpdir.rb:14: Win32API is deprecated after Ruby 1.9.1; use dl directly instead

webrick log end.
<"/\xA4\xDB\xA4\xB2/\xA4\xDB\xA4\xB2"> expected but was
<"/\x0FU\x0F\xFD/\x0FU\x0F\xFD">.

  1. Error:
    test_s_codepage_changed(TestWin32OLE):
    Errno::EACCES: Permission denied - rad6D8F9.tmp
    C:/Development/src/ruby_trunk/test/win32ole/test_win32ole.rb:374:in unlink' C:/Development/src/ruby_trunk/test/win32ole/test_win32ole.rb:374:in ensure in test_s_codepage_changed'
    C:/Development/src/ruby_trunk/test/win32ole/test_win32ole.rb:374:in `test_s_codepage_changed'

  2. Failure:
    test_short_filename(WEBrick::TestFileHandler) [C:/Development/src/ruby_trunk/test/webrick/test_filehandler.rb:167]:
    webrick log start:
    [2009-03-29 01:37:59] INFO WEBrick 1.3.1
    [2009-03-29 01:37:59] INFO ruby 1.9.2 (2009-03-29) [i386-mswin32_90]
    [2009-03-29 01:37:59] INFO WEBrick::HTTPServer#start: pid=7792 port=54887
    [2009-03-29 01:38:00] ERROR CGIHandler: C:/Development/src/ruby_trunk/test/webrick/webric~1.cgi:
    Warning:C:/Development/src/ruby_trunk/lib/tmpdir.rb:14: Win32API is deprecated after Ruby 1.9.1; use dl directly instead

[2009-03-29 01:38:00] WARN the request refers nondisclosure name .htaccess'. [2009-03-29 01:38:00] ERROR /.htaccess' not found.

webrick log end.
<"404"> expected but was
<"200">.

6145 tests, 2511829 assertions, 44 failures, 47 errors, 10 skips
=end

Actions #1

Updated by cfis (Charlie Savage) over 15 years ago

=begin
Hi James,

I've tried committing a fix for these. Can you tell me if they run OK
on Windows now?

Thanks. The change fixed 3 of the 10 tests. I thought it would be
easier to separate out the remaining 7 into their own ticket, which is
now at:

http://redmine.ruby-lang.org/issues/show/1327

Thanks for looking into this.

Charlie

Attachment: smime.p7s
=end

Actions #2

Updated by rogerdpack (Roger Pack) over 15 years ago

=begin
Thanks for the list Charlie.
Could you run them again from trunk? I'd be interested to see how they look compared to my mingw output of the same. For some reason I've never seen any imap errors.
=r
=end

Actions #3

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Status changed from Open to Rejected

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0