rubyspec/rubyspec — pull request #89 by griff (2011-11-17 22:14:40+00:00)
Title: Checks for reading and writing with IO#binmode including on dup'ed streams

When working on a test for a bug in the binmode handling on dup'ed streams in JRuby ([JRUBY-6198](https://jira.codehaus.org/browse/JRUBY-6198)) I found that there where no tests actually reading and writing a file with or without binmode. These 4 commits add tests for this as well as test that binmode is properly propagated on dup.