Fix race condition in test
Fix race condition in test

This should fix travis. For real this time! This is the one!

The readpartial(100) meant that an earlier assert_stdout could chomp up
the output that a later assert_stdout wants, meaning that the later
assertion fails.

Reading only 1 byte at a time ensure that we don't read any more than is
necessary to verify the assertion.

amoody2108/TechForJustice,fabianoleittes/rails,rossta/rails,mijoharas/rails,brchristian/rails,Stellenticket/rails,Edouard-chin/rails,kddeisz/rails,mohitnatoo/rails,eileencodes/rails,arjes/rails,Erol/rails,bolek/rails,vipulnsward/rails,untidy-hair/rails,kmcphillips/rails,mtsmfm/rails,riseshia/railsguides.kr,rbhitchcock/rails,palkan/rails,kirs/rails-1,ledestin/rails,Erol/rails,arunagw/rails,travisofthenorth/rails,esparta/rails,gfvcastro/rails,iainbeeston/rails,gfvcastro/rails,kmayer/rails,baerjam/rails,gauravtiwari/rails,kachick/rails,voray/rails,esparta/rails,arunagw/rails,bolek/rails,sergey-alekseev/rails,illacceptanything/illacceptanything,gavingmiller/rails,hanystudy/rails,brchristian/rails,utilum/rails,mathieujobin/reduced-rails-for-travis,flanger001/rails,kddeisz/rails,tgxworld/rails,rails/rails,fabianoleittes/rails,yasslab/railsguides.jp,kmayer/rails,untidy-hair/rails,Vasfed/rails,Stellenticket/rails,baerjam/rails,ttanimichi/rails,joonyou/rails,mijoharas/rails,marklocklear/rails,kamipo/rails,shioyama/rails,prathamesh-sonpatki/rails,eileencodes/rails,yasslab/railsguides.jp,maicher/rails,joonyou/rails,yalab/rails,deraru/rails,elfassy/rails,vassilevsky/rails,BlakeWilliams/rails,elfassy/rails,illacceptanything/illacceptanything,Edouard-chin/rails,gavingmiller/rails,bolek/rails,rossta/rails,MSP-Greg/rails,maicher/rails,flanger001/rails,rbhitchcock/rails,yalab/rails,assain/rails,yawboakye/rails,MSP-Greg/rails,tgxworld/rails,yasslab/railsguides.jp,mechanicles/rails,lcreid/rails,iainbeeston/rails,starknx/rails,Edouard-chin/rails,kenta-s/rails,Stellenticket/rails,flanger001/rails,illacceptanything/illacceptanything,prathamesh-sonpatki/rails,yahonda/rails,lucasmazza/rails,sealocal/rails,untidy-hair/rails,arunagw/rails,kaspth/rails,samphilipd/rails,sergey-alekseev/rails,felipecvo/rails,pvalena/rails,BlakeWilliams/rails,mtsmfm/railstest,sealocal/rails,pschambacher/rails,Edouard-chin/rails,esparta/rails,gcourtemanche/rails,printercu/rails,betesh/rails,arjes/rails,aditya-kapoor/rails,rails/rails,amoody2108/TechForJustice,Envek/rails,notapatch/rails,mtsmfm/railstest,voray/rails,gavingmiller/rails,deraru/rails,bogdanvlviv/rails,palkan/rails,jeremy/rails,koic/rails,mtsmfm/railstest,aditya-kapoor/rails,illacceptanything/illacceptanything,Vasfed/rails,aditya-kapoor/rails,printercu/rails,fabianoleittes/rails,rafaelfranca/omg-rails,alecspopa/rails,yalab/rails,richseviora/rails,stefanmb/rails,mechanicles/rails,eileencodes/rails,illacceptanything/illacceptanything,ledestin/rails,vassilevsky/rails,gauravtiwari/rails,MichaelSp/rails,rails/rails,vassilevsky/rails,bogdanvlviv/rails,Envek/rails,yhirano55/rails,arjes/rails,marklocklear/rails,betesh/rails,bogdanvlviv/rails,repinel/rails,assain/rails,illacceptanything/illacceptanything,kirs/rails-1,lcreid/rails,hanystudy/rails,bradleypriest/rails,MichaelSp/rails,kenta-s/rails,Erol/rails,xlymian/rails,Spin42/rails,printercu/rails,alecspopa/rails,mtsmfm/rails,richseviora/rails,kddeisz/rails,yalab/rails,georgeclaghorn/rails,sealocal/rails,lucasmazza/rails,gcourtemanche/rails,schuetzm/rails,yawboakye/rails,fabianoleittes/rails,gfvcastro/rails,coreyward/rails,tijwelch/rails,mathieujobin/reduced-rails-for-travis,printercu/rails,rails/rails,felipecvo/rails,MSP-Greg/rails,hanystudy/rails,iainbeeston/rails,mohitnatoo/rails,kmayer/rails,marklocklear/rails,xlymian/rails,mtsmfm/rails,shioyama/rails,lcreid/rails,kamipo/rails,Stellenticket/rails,travisofthenorth/rails,88rabbit/newRails,coreyward/rails,kirs/rails-1,gcourtemanche/rails,jeremy/rails,repinel/rails,ledestin/rails,ngpestelos/rails,elfassy/rails,Sen-Zhang/rails,illacceptanything/illacceptanything,pvalena/rails,tgxworld/rails,sergey-alekseev/rails,illacceptanything/illacceptanything,Vasfed/rails,illacceptanything/illacceptanything,matrinox/rails,EmmaB/rails-1,bradleypriest/rails,betesh/rails,mathieujobin/reduced-rails-for-travis,starknx/rails,ngpestelos/rails,kaspth/rails,voray/rails,BlakeWilliams/rails,gauravtiwari/rails,yawboakye/rails,mohitnatoo/rails,Sen-Zhang/rails,tijwelch/rails,MichaelSp/rails,riseshia/railsguides.kr,illacceptanything/illacceptanything,pvalena/rails,betesh/rails,Vasfed/rails,shioyama/rails,bogdanvlviv/rails,samphilipd/rails,georgeclaghorn/rails,MSP-Greg/rails,mohitnatoo/rails,schuetzm/rails,matrinox/rails,assain/rails,vipulnsward/rails,baerjam/rails,illacceptanything/illacceptanything,coreyward/rails,richseviora/rails,Envek/rails,utilum/rails,vipulnsward/rails,joonyou/rails,kenta-s/rails,88rabbit/newRails,felipecvo/rails,amoody2108/TechForJustice,rafaelfranca/omg-rails,yawboakye/rails,palkan/rails,kmcphillips/rails,travisofthenorth/rails,mijoharas/rails,Envek/rails,eileencodes/rails,shioyama/rails,deraru/rails,bradleypriest/rails,lcreid/rails,EmmaB/rails-1,flanger001/rails,notapatch/rails,Spin42/rails,kachick/rails,koic/rails,deraru/rails,yhirano55/rails,mechanicles/rails,travisofthenorth/rails,tijwelch/rails,illacceptanything/illacceptanything,yasslab/railsguides.jp,yahonda/rails,baerjam/rails,notapatch/rails,kmcphillips/rails,alecspopa/rails,stefanmb/rails,kachick/rails,rossta/rails,notapatch/rails,rafaelfranca/omg-rails,prathamesh-sonpatki/rails,illacceptanything/illacceptanything,pvalena/rails,riseshia/railsguides.kr,kamipo/rails,schuetzm/rails,EmmaB/rails-1,pschambacher/rails,odedniv/rails,iainbeeston/rails,repinel/rails,stefanmb/rails,tjschuck/rails,starknx/rails,georgeclaghorn/rails,samphilipd/rails,tjschuck/rails,Erol/rails,mechanicles/rails,jeremy/rails,gfvcastro/rails,joonyou/rails,koic/rails,prathamesh-sonpatki/rails,odedniv/rails,aditya-kapoor/rails,untidy-hair/rails,georgeclaghorn/rails,repinel/rails,xlymian/rails,arunagw/rails,maicher/rails,yahonda/rails,yhirano55/rails,esparta/rails,pschambacher/rails,ttanimichi/rails,lucasmazza/rails,illacceptanything/illacceptanything,Sen-Zhang/rails,utilum/rails,odedniv/rails,schuetzm/rails,88rabbit/newRails,ngpestelos/rails,tgxworld/rails,vipulnsward/rails,riseshia/railsguides.kr,kmcphillips/rails,brchristian/rails,kddeisz/rails,matrinox/rails,BlakeWilliams/rails,yahonda/rails,Spin42/rails,yhirano55/rails,jeremy/rails,palkan/rails,illacceptanything/illacceptanything,tjschuck/rails,rbhitchcock/rails,utilum/rails,tjschuck/rails,kaspth/rails,ttanimichi/rails,assain/rails