New ruby_test failures
----------------------
Key: JRUBY-3414
URL: http://jira.codehaus.org/browse/JRUBY-3414
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Reporter: Charles Oliver Nutter
Ideally these should be added to rubyspec, since they're probably not getting
covered there.
{noformat}
[junit] test_pack_L_native(TC_Array_Pack_Instance)
[test/externals/ruby_test/test/core/Array/instance/tc_pack.rb:263]:
[junit] <"\000\000\000\001\000\000\000\t"> expected but was
[junit] <"\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\t">.
[junit] test_pack_d_expected_errors(TC_Array_Pack_Instance)
[test/externals/ruby_test/test/core/Array/instance/tc_pack.rb:148]:
[junit] <ArgumentError> exception expected but was
[junit] Class: <TypeError>
[junit] Message: <"array item not a float">
[junit] test_pack_L_native(TC_Array_Pack_Instance)
[test/externals/ruby_test/test/core/Array/instance/tc_pack.rb:263]:
[junit] <"\000\000\000\001\000\000\000\t"> expected but was
[junit] <"\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\t">.
[junit] test_pack_D_expected_errors(TC_Array_Pack_Instance)
[test/externals/ruby_test/test/core/Array/instance/tc_pack.rb:135]:
[junit] <ArgumentError> exception expected but was
[junit] Class: <TypeError>
[junit] Message: <"array item not a float">
[junit] test_glob_double_star(TC_Dir_Glob_Class)
[test/externals/ruby_test/test/core/Dir/class/tc_glob.rb:121]:
[junit] <["a.c", "a.c", "b.c"]> expected but was
[junit] <["AbstractMemory.c",
[junit] "AutoPointer.c",
[junit] "Buffer.c",
...
[junit] test_glob_double_star(TC_Dir_Glob_Class)
[test/externals/ruby_test/test/core/Dir/class/tc_glob.rb:129]:
[junit] <[]> expected but was
[junit] <["lib/ruby/1.8/xmlrpc",
[junit] "lib/ruby/1.8/xsd",
[junit] "lib/ruby/1.8/irb/xmp.rb",
[junit] test_new_expected_errors(TC_Exception_New_ClassMethod)
[test/externals/ruby_test/test/core/Exception/class/tc_new.rb:29]:
[junit] <ArgumentError> exception expected but none was thrown.
[junit] test_set_backtrace_basic(TC_Exception_SetBacktrace_InstanceMethod)
[test/externals/ruby_test/test/core/Exception/instance/tc_set_backtrace.rb:19]:
[junit] Exception raised:
[junit] Class: <TypeError>
[junit] Message: <"backtrace must be Array of String">
(a couple of these)
[junit] test_basename_windows_forward_slash(TC_File_Basename_Class)
[test/externals/ruby_test/test/core/File/class/tc_basename.rb:94]:
[junit] => Incorrect implementation for MS Windows.
[junit] <"C:/"> expected but was
[junit] <"C:">.
[junit] test_chmod_edge_cases(TC_File_Chmod_ClassMethod)
[test/externals/ruby_test/test/core/File/class/tc_chmod.rb:44]:
[junit] Exception raised:
[junit] Class: <ArgumentError>
[junit] Message: <"wrong # of arguments(1 for 2)">
[junit] test_chmod_expected_errors(TC_File_Chmod_ClassMethod)
[test/externals/ruby_test/test/core/File/class/tc_chmod.rb:50]:
[junit] <TypeError> exception expected but was
[junit] Class: <ArgumentError>
[junit] Message: <"wrong # of arguments(1 for 2)">
[junit] test_chown_basic(TC_File_Chown_ClassMethod)
[test/externals/ruby_test/test/core/File/class/tc_chown.rb:45]:
[junit] Exception raised:
[junit] Class: <ArgumentError>
[junit] Message: <"wrong # of arguments(2 for 3)">
[junit] test_chown_expected_errors(TC_File_Chown_ClassMethod)
[test/externals/ruby_test/test/core/File/class/tc_chown.rb:64]:
[junit] <TypeError> exception expected but was
[junit] Class: <ArgumentError>
[junit] Message: <"wrong # of arguments(2 for 3)">
[junit] test_chown_edge_cases(TC_File_Chown_ClassMethod):
[junit] ArgumentError: wrong # of arguments(2 for 3)
[junit] test/externals/ruby_test/test/core/File/class/tc_chown.rb:59:in
`test_chown_edge_cases'
[junit]
test_expand_path_returns_tainted_string(TC_File_ExpandPath_ClassMethod)
[test/externals/ruby_test/test/core/File/class/tc_expand_path.rb:105]:
[junit] <true> expected but was
[junit] <false>.
[junit] test_tainted_ext_returns_tainted_string(TC_File_Extname)
[test/externals/ruby_test/test/core/File/class/tc_extname.rb:32]:
[junit] <true> expected but was
[junit] <false>.
[junit] test_atime_fails_on_closed_handle(TC_File_Atime_InstanceMethod)
[test/externals/ruby_test/test/core/File/instance/tc_atime.rb:23]:
[junit] <IOError> exception expected but none was thrown.
[junit] test_chmod_fails_on_closed_handle(TC_File_Chmod_InstanceMethod)
[test/externals/ruby_test/test/core/File/instance/tc_chmod.rb:38]:
[junit] <IOError> exception expected but none was thrown.
[junit] test_chown_fails_on_closed_handle(TC_File_Chown_InstanceMethod)
[test/externals/ruby_test/test/core/File/instance/tc_chown.rb:57]:
[junit] <IOError> exception expected but none was thrown.
[junit] test_ctime_fails_on_closed_handle(TC_File_Ctime_InstanceMethod)
[test/externals/ruby_test/test/core/File/instance/tc_ctime.rb:23]:
[junit] <IOError> exception expected but none was thrown.
[junit] test_flock_unlock(TC_File_Flock_InstanceMethod)
[test/externals/ruby_test/test/core/File/instance/tc_flock.rb:34]:
[junit] <0> expected but was
[junit] <false>.
[junit] )
[junit] test_mtime_fails_on_closed_handle(TC_File_Mtime_InstanceMethod)
[test/externals/ruby_test/test/core/File/instance/tc_mtime.rb:23]:
[junit] <IOError> exception expected but none was thrown.
[junit] test_tainted_path_returns_tainted_string(TC_File_Path)
[test/externals/ruby_test/test/core/File/instance/tc_path.rb:38]:
[junit] <true> expected but was
[junit] <false>.
[junit] test_pipe(TC_FileStat_Pipe_InstanceMethod)
[test/externals/ruby_test/test/core/FileStat/instance/tc_pipe.rb:23]:
[junit] <false> expected but was
[junit] <true>.
[junit] test_rdev(TC_FileStat_Rdev_InstanceMethod)
[test/externals/ruby_test/test/core/FileStat/instance/tc_rdev.rb:24]:
[junit] <true> expected but was
[junit] <false>.
[junit] test_rdev_major(TC_FileStat_RdevMajor_InstanceMethod)
[test/externals/ruby_test/test/core/FileStat/instance/tc_rdev_major.rb:29]:
[junit] <true> expected but was
[junit] <false>.
[junit] test_disable(TC_GC_Disable_ModuleMethod)
[test/externals/ruby_test/test/core/GC/class/tc_disable.rb:17]:
[junit] <false> expected but was
[junit] <nil>.
[junit] test_disable(TC_GC_Disable_ModuleMethod)
[test/externals/ruby_test/test/core/GC/class/tc_disable.rb:18]:
[junit] <true> expected but was
[junit] <nil>.
[junit] test_isatty_stdout(TC_IO_Isatty_InstanceMethod)
[test/externals/ruby_test/test/core/IO/instance/tc_isatty.rb:48]:
[junit] <true> expected but was
[junit] <false>.
[junit] test_global_variables(TC_Kerel_GlobalVariables_ModuleMethod)
[junit]
[test/externals/ruby_test/test/core/Kernel/class/tc_global_variables.rb:28:in
`test_global_variables'
[junit]
test/externals/ruby_test/test/core/Kernel/class/tc_global_variables.rb:27:in
`each'
[junit]
test/externals/ruby_test/test/core/Kernel/class/tc_global_variables.rb:27:in
`test_global_variables']:
[junit] <true> expected but was
[junit] <false>.
[junit] test_env_match(TC_Env_Global_Constant)
[test/externals/ruby_test/test/core/Misc/global_constants/tc_env.rb:34]:
[junit] <["Apple_PubSub_Socket_Render",
[junit] "CLICOLOR",
[junit] "COMMAND_MODE",
...
[junit] test_constants(TC_Module_Constants_InstanceMethods)
[test/externals/ruby_test/test/core/Module/instance/tc_constants.rb:34]:
[junit] <["M_CON_B", "M_CON_A"]> expected but was
[junit] <["M_CON_A", "M_CON_B"]>.
(hash ordering)
[junit] test_untaint_safe_environment(TC_Object_Untaint_InstanceMethod)
[test/externals/ruby_test/test/core/Object/instance/tc_untaint.rb:38]:
[junit] <SecurityError> exception expected but none was thrown.
[junit] test_abort(TC_Process_Abort_ModuleMethod):
[junit] NotImplementedError: fork is unsafe and disabled by default on JRuby
[junit]
test/externals/ruby_test/test/core/Process/class/tc_abort.rb:26:in `test_abort'
[junit] test_abort_with_error_message(TC_Process_Abort_ModuleMethod):
[junit] NotImplementedError: fork is unsafe and disabled by default on JRuby
[junit]
test/externals/ruby_test/test/core/Process/class/tc_abort.rb:32:in
`test_abort_with_error_message'
{noformat}
More coming...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email