test for size mismatch errors with IO.copy_stream
commitc0b3faa0922d895e6aafa9802df69649b1977eae
authorEric Wong <normalperson@yhbt.net>
Mon, 24 Dec 2012 20:20:00 +0000 (24 20:20 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 24 Dec 2012 20:23:12 +0000 (24 20:23 +0000)
treee58ad4f186322b8f2ca1a007bb0b3c031b23a212
parentde18522959de92865bb10582dd02276b3da8ae01
test for size mismatch errors with IO.copy_stream

IO.copy_stream does not raise EOFError when specified
copy length is less than input size.  Thus we must rely
on the MogileFS tracker to validate the input size.
test/test_fresh.rb