make tst_QLocalSocket::writeToClientAndDisconnect more robust
authorJoerg Bornemann <joerg.bornemann@nokia.com>
Thu, 10 Sep 2009 14:59:58 +0000 (16:59 +0200)
committerJoerg Bornemann <joerg.bornemann@nokia.com>
Thu, 10 Sep 2009 15:50:38 +0000 (17:50 +0200)
commit864520a0323fe56b290577befafd15b140433788
treedebe6bc6f8c8e52a0d6d8a2e0cc52bb6f45a6832
parentd0b1717877c22082e6bfb518c760fe9f293a52e2
make tst_QLocalSocket::writeToClientAndDisconnect more robust

We must wait until all data is written before trying to read stuff.

Reviewed-by: ossi
tests/auto/qlocalsocket/tst_qlocalsocket.cpp