diff options
author | João Abecasis <joao@abecasis.name> | 2009-11-16 16:06:27 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-11-17 13:01:06 (GMT) |
commit | 0626fc90d79d114402a7cf8727c63d489f13d8cb (patch) | |
tree | 930dfd2ef69f721724ee63ac4d12b90062514b5f /tests/auto/qfile | |
parent | 72ee915bb0465549b7ca8e62d2af146cc44fdeac (diff) | |
download | Qt-0626fc90d79d114402a7cf8727c63d489f13d8cb.zip Qt-0626fc90d79d114402a7cf8727c63d489f13d8cb.tar.gz Qt-0626fc90d79d114402a7cf8727c63d489f13d8cb.tar.bz2 |
Improve reliability of QFile test readAllStdin
... by catching failure to launch separate process earlier.
Diffstat (limited to 'tests/auto/qfile')
-rw-r--r-- | tests/auto/qfile/tst_qfile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp index d545909..e4e63ff 100644 --- a/tests/auto/qfile/tst_qfile.cpp +++ b/tests/auto/qfile/tst_qfile.cpp @@ -751,6 +751,7 @@ void tst_QFile::readAllStdin() QProcess process; process.start("stdinprocess/stdinprocess all"); + QVERIFY( process.waitForStarted() ); for (int i = 0; i < 5; ++i) { QTest::qWait(1000); process.write(lotsOfData); |