add copy_stream test from MRI
commitec812c7f2d83681b7beecdf21334e3a43c2b7090
authorEric Wong <normalperson@yhbt.net>
Fri, 13 May 2011 00:25:08 +0000 (12 17:25 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 13 May 2011 00:25:08 +0000 (12 17:25 -0700)
tree7f33d26d3dc0bfcd18833a270e0e42a3d1c29f19
parente887427daad73f460c1e7abbbefecc22cddbadc3
add copy_stream test from MRI

This helps flesh out some inconsistencies between our
implementation and IO.copy_stream in MRI.  Some things
we won't care about though, like userspace buffering.
test/test_copy_stream.rb [new file with mode: 0644]