Bug #1326
closedFailing unit tests on windows
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.
- 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:ininitialize' 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:inimaps_test' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:60:in
block in test_imaps_post_connection_check'
- 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:ininitialize' 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:inimaps_test' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:24:in
block in test_imaps_unknown_ca'
-
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. >>. -
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. >>. -
Error:
test_starttls(IMAPTest):
SocketError: getaddrinfo: The specified class was not found.
C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:156:ininitialize' 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:instarttls_test' C:/Development/src/ruby_trunk/test/net/imap/test_imap.rb:72:in
test_starttls' -
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:ininitialize' 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' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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:inblock 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:inserver_loop' C:/Development/src/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
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
<"">. -
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:inblock 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' -
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' -
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' -
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' -
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:inblock in test_shift' C:/Development/src/ruby_trunk/test/csv/test_interface.rb:102:in
test_shift' -
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' -
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:inblock 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' -
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:inblock 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' -
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:inblock in test_write_headers' C:/Development/src/ruby_trunk/test/csv/test_interface.rb:238:in
test_write_headers' -
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:inblock in test_03' C:/Development/src/ruby_trunk/test/drb/drbtest.rb:143:in
test_03'
- 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:inblock in test_04_many_arg' C:/Development/src/ruby_trunk/test/drb/test_drb.rb:286:in
test_04_many_arg'
-
Failure:
test_systemcallerror_eq(TestDelegateClass) [C:/Development/src/ruby_trunk/test/test_delegate.rb:18]:
[ruby-dev:34808] -
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:inunlink' C:/Development/src/ruby_trunk/test/win32ole/test_err_in_callback.rb:40:in
teardown' -
Failure:
test_group(TestEtc) [C:/Development/src/ruby_trunk/test/etc/test_etc.rb:66]:
RuntimeError expected but nothing was raised. -
Failure:
test_passwd(TestEtc) [C:/Development/src/ruby_trunk/test/etc/test_etc.rb:27]:
RuntimeError expected but nothing was raised. -
Failure:
test_gets_para_extended_file(TestFile) [C:/Development/src/ruby_trunk/test/ruby/test_file.rb:94]:
mode = <>.
<"a"> expected but was
<"\na">. -
Failure:
test_expand_path(TestFileExhaustive) [C:/Development/src/ruby_trunk/test/ruby/test_file_exhaustive.rb:389]:
ArgumentError expected but nothing was raised. -
Failure:
test_stat(TestFileExhaustive) [C:/Development/src/ruby_trunk/test/ruby/test_file_exhaustive.rb:80]:
<2> expected but was
<1>. -
Failure:
test_stat_init(TestFileExhaustive) [C:/Development/src/ruby_trunk/test/ruby/test_file_exhaustive.rb:558]:
<2> expected but was
<1>. -
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>. -
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. -
Failure:
test_reorganize(TestGDBM) [C:/Development/src/ruby_trunk/test/gdbm/test_gdbm.rb:592]:
expected but was
. -
Failure:
test_s_open_create_new(TestGDBM) [C:/Development/src/ruby_trunk/test/gdbm/test_gdbm.rb:86]:
<420> expected but was
<438>. -
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:inopen' C:/Development/src/ruby_trunk/test/gdbm/test_gdbm.rb:201:in
block in test_s_open_error'
-
Failure:
test_self_prefix(TestGem) [C:/Development/src/ruby_trunk/test/rubygems/test_gem.rb:369]:
Expected "C:/Development/src/ruby_trunk", not nil. -
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". -
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". -
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. -
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'
- 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'
- 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'
-
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. -
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. -
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. -
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". -
Skipped:
test_close_on_exec(TestIO) [C:/Development/src/ruby_trunk/test/ruby/test_io.rb:1116]:
IO#close_on_exec is not implemented. -
Skipped:
test_copy_stream_rbuf(TestIO) [C:/Development/src/ruby_trunk/test/ruby/test_io.rb:401]:
pread(2) is not implemtented. -
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. -
Error:
test_208(TestIOScanf):
TypeError: can't convert nil into String
C:/Development/src/ruby_trunk/test/scanf/test_scanf.rb:314:inblock (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' -
Error:
test_210(TestIOScanf):
TypeError: can't convert nil into String
C:/Development/src/ruby_trunk/test/scanf/test_scanf.rb:314:inblock (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' -
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
<"">. -
Failure:
test_invokeverb(TestInvokeVerb) [C:/Development/src/ruby_trunk/test/win32ole/test_folderitem2_invokeverb.rb:66]:
Failed assertion, no message given. -
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:ineach'", "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:ineach'", "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:inrun'", "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"]. -
Failure:
test_filter_backtrace(TestMiniTest) [C:/Development/src/ruby_trunk/test/minitest/test_mini_test.rb:60]:
Expected ["lib/autotest.rb:571:inadd_exception'", "test/test_autotest.rb:62:in
test_add_exception'"], not ["lib/autotest.rb:571:inadd_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:ineach'", "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:ineach'", "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:inrun'", "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"]. -
Failure:
test_commandline(TestOpen3) [C:/Development/src/ruby_trunk/test/test_open3.rb:64]:
<"quux"> expected but was
<"">. -
Failure:
test_extname(TestPath) [C:/Development/src/ruby_trunk/test/ruby/test_path.rb:230]:
<""> expected but was
<".rb">. -
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 -
Failure:
test_execopts_env(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:251]:
<"PATH\n"> expected but was
<"PATH\nTMPDIR\n">. -
Failure:
test_execopts_exec(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:500]:
<"aaa\n"> expected but was
<"">. -
Skipped:
test_execopts_pgroup(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:149]:
system(:pgroup) is not supported -
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 -
Failure:
test_execopts_redirect(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:335]:
<"a\n0\n"> expected but was
<"0\n">. -
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 -
Skipped:
test_execopts_redirect_self(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:668]:
IO#close_on_exec= is not supported -
Skipped:
test_execopts_umask(TestProcess) [C:/Development/src/ruby_trunk/test/ruby/test_process.rb:292]:
umask is not supported -
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 -
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:inverify_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' -
Failure:
test_readline(TestReadline) [C:/Development/src/ruby_trunk/test/readline/test_readline.rb:94]:
<"> "> expected but was
. -
Error:
test_require_invalid_shared_object(TestRequire):
IOError: closed stream
C:/Development/src/ruby_trunk/test/ruby/envutil.rb:132:inread' C:/Development/src/ruby_trunk/test/ruby/envutil.rb:132:in
block in assert_in_out_err' -
Failure:
test_s_open_error(TestSDBM) [C:/Development/src/ruby_trunk/test/sdbm/test_sdbm.rb:124]:
Errno::EACCES expected but nothing was raised. -
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' -
Error:
test_accept_loop(TestSocket):
NoMethodError: undefined methodeach' for nil:NilClass C:/Development/src/ruby_trunk/test/socket/test_socket.rb:202:in
test_accept_loop' -
Error:
test_accept_loop_multi_port(TestSocket):
NoMethodError: undefined methodeach' for nil:NilClass C:/Development/src/ruby_trunk/test/socket/test_socket.rb:222:in
test_accept_loop_multi_port' -
Error:
test_initialize(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
C:/Development/src/ruby_trunk/test/socket/test_socket.rb:39:ingetsockname' 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:inopen' C:/Development/src/ruby_trunk/test/socket/test_socket.rb:38:in
test_initialize' -
Error:
test_linger(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
C:/Development/src/ruby_trunk/test/socket/test_socket.rb:304:in `test_linger' -
Error:
test_tcp(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
C:/Development/src/ruby_trunk/test/socket/test_socket.rb:79:inblock 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' -
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' -
Error:
test_tcp_server_sockets_port0(TestSocket):
NoMethodError: undefined methodeach' for nil:NilClass C:/Development/src/ruby_trunk/test/socket/test_socket.rb:115:in
test_tcp_server_sockets_port0' -
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' -
Error:
test_addrinfo_new_inet6(TestSocketAddrinfo):
SocketError: unexpected address family
C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:449:ininitialize' 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' -
Error:
test_bind(TestSocketAddrinfo):
Errno::EINVAL: Invalid argument - getsockname(2)
C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:397:in `test_bind' -
Error:
test_family_addrinfo(TestSocketAddrinfo):
NoMethodError: undefined methodunix' for Addrinfo:Class C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:320:in
test_family_addrinfo' -
Error:
test_ipv6_address_predicates(TestSocketAddrinfo):
NoMethodError: undefined methodipv6_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:ineach' 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:ineach' C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:501:in
test_ipv6_address_predicates' -
Error:
test_ipv6_to_ipv4(TestSocketAddrinfo):
NoMethodError: undefined methodipv6_to_ipv4' for #<Addrinfo: ::192.0.2.3> C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:538:in
test_ipv6_to_ipv4' -
Error:
test_listen(TestSocketAddrinfo):
Errno::EINVAL: Invalid argument - getsockname(2)
C:/Development/src/ruby_trunk/test/socket/test_addrinfo.rb:409:in `test_listen' -
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:inrecvmsg_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:intcp_pair' C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:206:in
test_recvmsg_nonblock_error' -
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:insendmsg_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:inloop' 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:intcp_pair' C:/Development/src/ruby_trunk/test/socket/test_nonblock.rb:194:in
test_sendmsg_nonblock_error' -
Failure:
test_getsockopt(TestSocket_BasicSocket) [C:/Development/src/ruby_trunk/test/socket/test_basicsocket.rb:12]:
IOError expected but nothing was raised. -
Failure:
test_setsockopt(TestSocket_BasicSocket) [C:/Development/src/ruby_trunk/test/socket/test_basicsocket.rb:12]:
IOError expected but nothing was raised. -
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:inat' C:/Development/src/ruby_trunk/test/ruby/test_time.rb:197:in
block in test_at3'
-
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' -
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">.
-
Error:
test_s_codepage_changed(TestWin32OLE):
Errno::EACCES: Permission denied - rad6D8F9.tmp
C:/Development/src/ruby_trunk/test/win32ole/test_win32ole.rb:374:inunlink' 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' -
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