[regression] Three new IO rubyspec failures -------------------------------------------
Key: JRUBY-4319 URL: http://jira.codehaus.org/browse/JRUBY-4319 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.4 Reporter: Vladimir Sizikov Assignee: Wayne Meissner Priority: Critical Fix For: JRuby 1.5 Bisect showed that the following commit: {noformat} 6c408492cd088cb9f8e2ee204a8f40247ac123d6 is the first bad commit commit 6c408492cd088cb9f8e2ee204a8f40247ac123d6 Author: Wayne Meissner <wmeiss...@gmail.com> Date: Sun Dec 6 22:38:23 2009 +1000 Minor cleanups of read/write buffer space calculations {noformat} Caused a regression in RubSpec IO's tests: {noformat} jruby -S mspec ci core/io/ jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-12-06 6c40849) (Java HotSpot(TM) Client VM 1.6.0_03) [i386-java] ...................................................F.FF............... 1) IO#readpartial reads after ungetc with data in the buffer FAILED Expected "f" to equal "foo" /opt/work/rubyspec.git/core/io/readpartial_spec.rb:34 /opt/work/rubyspec.git/core/io/readpartial_spec.rb:4 /opt/work/rubyspec.git/core/io/readpartial_spec.rb:55:in `load' /opt/work/mspec.git/bin/mspec-ci:8 2) IO#rewind positions the instance to the beginning of input and clears EOF FAILED Expected "Voici la ligne une.\nQui \303\250 la linea due.\nAqu\303\255 est\303\241 la l\303\255nea tres.\nIst hier Linie vier.\nEst\303\241 aqui a linha cinco.\nHere is line six.\n" to equal "V" /opt/work/rubyspec.git/core/io/rewind_spec.rb:28 /opt/work/rubyspec.git/core/io/rewind_spec.rb:5 /opt/work/rubyspec.git/core/io/rewind_spec.rb:55:in `load' /opt/work/mspec.git/bin/mspec-ci:8 3) IO#seek moves the read position and clears EOF with SEEK_SET FAILED Expected "Voici la ligne une.\nQui \303\250 la linea due.\nAqu\303\255 est\303\241 la l\303\255nea tres.\nIst hier Linie vier.\nEst\303\241 aqui a linha cinco.\nHere is line six.\n" to equal "V" /opt/work/rubyspec.git/core/io/seek_spec.rb:58 /opt/work/rubyspec.git/core/io/seek_spec.rb:5 /opt/work/rubyspec.git/core/io/seek_spec.rb:55:in `load' /opt/work/mspec.git/bin/mspec-ci:8 Finished in 5.307000 seconds {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