Rubyspec failure: IO#write_nonblock on a file writes all of the string's bytes 
but does not buffer them
-------------------------------------------------------------------------------------------------------

                 Key: JRUBY-2281
                 URL: http://jira.codehaus.org/browse/JRUBY-2281
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1RC2
         Environment: Latest JRuby 1.1RC2
            Reporter: Vladimir Sizikov
            Assignee: Thomas E Enebo


The following rubyspec failure on JRuby:

spec/ruby/1.8/core/io/write_nonblock_spec.rb

{noformat}
IO#write_nonblock on a file writes all of the string's bytes but does not 
buffer them FAILED
Expected "0123456789"
 to equal "abcde56789"

./mspec/expectations.rb:10:in `fail_with'
./mspec/matchers/base.rb:8:in `=='
./spec/ruby/1.8/core/io/write_nonblock_spec.rb:26
./spec/ruby/1.8/core/io/write_nonblock_spec.rb:25:in `open'
./spec/ruby/1.8/core/io/write_nonblock_spec.rb:25
./mspec/runner/mspec.rb:111:in `call'
./mspec/runner/mspec.rb:111:in `protect'
./mspec/runner/state.rb:46:in `protect'
./mspec/runner/state.rb:46:in `each'
./mspec/runner/state.rb:46:in `protect'
./mspec/runner/state.rb:59:in `process'
./mspec/runner/state.rb:55:in `each'
./mspec/runner/state.rb:55:in `process'
./mspec/runner/mspec.rb:19:in `describe'
./mspec/runner/object.rb:11:in `describe'
./spec/ruby/1.8/core/io/write_nonblock_spec.rb:5
./mspec/runner/mspec.rb:36:in `load'
./mspec/runner/mspec.rb:36:in `files'
./mspec/runner/mspec.rb:111:in `call'
./mspec/runner/mspec.rb:111:in `protect'
./mspec/runner/mspec.rb:36:in `files'
./mspec/runner/mspec.rb:33:in `each'
./mspec/runner/mspec.rb:33:in `files'
./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:59
{noformat}

-- 
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


Reply via email to