GzipReader fails Rubyspecs (for #eof? and #read)
------------------------------------------------
Key: JRUBY-4331
URL: http://jira.codehaus.org/browse/JRUBY-4331
Project: JRuby
Issue Type: Bug
Components: RubySpec
Affects Versions: JRuby 1.4
Environment: Latest jruby
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Fix For: JRuby 1.5
Bunch of new rubyspecs have been landed, and we have some fresh failures. Will
fix.
{noformat}
#> mspec -t j library\zlib\gzipreader
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-12-09 bba3c7d) (Java
HotSpot(TM) Client VM 1.6.0_17) [x86-java]
.F..F.......F..
1)
GzipReader#eof? returns true when at EOF with the exact length of uncompressed
data FAILED
Expected false to be true
D:/work/jruby-dev/rubyspec.git/library/zlib/gzipreader/eof_spec.rb:24
D:/work/jruby-dev/rubyspec.git/library/zlib/gzipreader/eof_spec.rb:5
D:/work/jruby-dev/rubyspec.git/library/zlib/gzipreader/eof_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
2)
GzipReader#eof? does not affect the reading data FAILED
Expected false to be true
D:/work/jruby-dev/rubyspec.git/library/zlib/gzipreader/eof_spec.rb:50
D:/work/jruby-dev/rubyspec.git/library/zlib/gzipreader/eof_spec.rb:5
D:/work/jruby-dev/rubyspec.git/library/zlib/gzipreader/eof_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
3)
GzipReader#read at the end of data returns nil if length prameter is positive
FAILED
Expected "" to be nil
D:/work/jruby-dev/rubyspec.git/library/zlib/gzipreader/read_spec.rb:53
D:/work/jruby-dev/rubyspec.git/library/zlib/gzipreader/read_spec.rb:5
D:/work/jruby-dev/rubyspec.git/library/zlib/gzipreader/read_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
Finished in 0.138000 seconds
18 files, 15 examples, 47 expectations, 3 failures, 0 errors
{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