test/lib_read_write: fix trywritev blocking test
commitd7949151d9e576869bffa6683bee55a9ea538a29
authorEric Wong <e@80x24.org>
Wed, 9 Apr 2014 20:00:32 +0000 (9 20:00 +0000)
committerEric Wong <e@80x24.org>
Wed, 9 Apr 2014 21:55:30 +0000 (9 21:55 +0000)
tree3e4d9afa1b945e38f33b021408ecec5bcf7ce08d
parent6243d74cc8296d40a66969594e42963c896968ee
test/lib_read_write: fix trywritev blocking test

penultimate return value may be a subarray for writev-related
routines, not a string.

Caught by a pre-upload check by Christian Hofstaedtler
on the debian-ruby list for kgio 2.9.1

Tested-by: Christian Hofstaedtler <zeha@debian.org>
Cc: Hleb Valoshka <375gnu@gmail.com>
Cc: <debian-ruby@lists.debian.org>
Cc: Yura Sokolov <funny.falcon@gmail.com>
test/lib_read_write.rb