test/lib_read_write: account for larger-than-normal pipes
commit259347346169d4a2ab5b33719fe0985edc64bd3c
authorEric Wong <e@yhbt.net>
Tue, 3 Sep 2013 22:43:04 +0000 (3 22:43 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 3 Sep 2013 23:35:15 +0000 (3 23:35 +0000)
tree038af5dbd37ca27cef87cd093f7cf840e9adbf2e
parentdae148a9d6de7501acf8a68218b3e9d2c5ff6ff7
test/lib_read_write: account for larger-than-normal pipes

Linux pipe buffers may use larger pages and increase the
capacity of pipes.  Thus the 10000 write attempt is not
sufficient; just infinite loop until we hit :wait_writable.
test/lib_read_write.rb