SystemCallErorr rubyspec regressions and new specs failures
-----------------------------------------------------------
Key: JRUBY-2031
URL: http://jira.codehaus.org/browse/JRUBY-2031
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1RC1
Environment: Latest JRuby 1.1RC1
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
There are some rubyspec regressions after recent fix for JRUBY-2010, as well as
new failures since I've added new rubysecs too :)
1)
SystemCallError.new requires at least one argumentt FAILED
Expected ArgumentError but no exception was raised:
./mspec/expectations.rb:10:in `fail_with'
./mspec/expectations/should.rb:6:in `should'
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:5
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:5:in
`call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:3
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:3:in
`load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44
2)
SystemCallError.new accepts single Fixnum argument as errno FAILED
Expected 0 to equal -16777216:
./mspec/expectations.rb:10:in `fail_with'
./mspec/matchers/base.rb:8:in `=='
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:13
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:12:in
`call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:3
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:3:in
`load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44
3)
SystemCallError#errno returns nil when no errno given FAILED
Expected 0 to equal nil:
./mspec/expectations.rb:10:in `fail_with'
./mspec/matchers/base.rb:8:in `=='
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:21
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:20:in
`call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:19
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:19:in
`load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44
4)
SystemCallError#message should return default message when no message given
FAILED
Expected 268435456 to match /Unknown error/:
./mspec/expectations.rb:10:in `fail_with'
./mspec/matchers/base.rb:42:in `=~'
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:36
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:35:in
`call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:34
/opt/work/rubinius/./spec/ruby/1.8/core/exception/system_call_error_spec.rb:34:in
`load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44
Finished in 0.106000 seconds
7 examples, 13 expectations, 4 failures, 0 errors
Fix is 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