diff options
author | Oz Linden <oz@lindenlab.com> | 2013-06-17 16:50:35 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-06-17 16:50:35 -0400 |
commit | 761bf254a4e72ec521ff1a52ac12f8594a350818 (patch) | |
tree | c72f84bb4ac319c10299a35934b52a09a73a127d /indra/llcommon/tests | |
parent | a2fa9a2bc26bb67c0bb952d3295c380dcb853eb5 (diff) | |
parent | 1e41b017e1713a35eb68190d279cf8d28791b6d2 (diff) |
merge changes for 3.6.0-release
Diffstat (limited to 'indra/llcommon/tests')
-rwxr-xr-x | indra/llcommon/tests/llprocess_test.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/llcommon/tests/llprocess_test.cpp b/indra/llcommon/tests/llprocess_test.cpp index 6f1e7d46b8..f188865eb0 100755 --- a/indra/llcommon/tests/llprocess_test.cpp +++ b/indra/llcommon/tests/llprocess_test.cpp @@ -969,10 +969,7 @@ namespace tut childout.getline(), "ok"); // important to get the implicit flush from std::endl py.mPy->getWritePipe().get_ostream() << "go" << std::endl; - for (i = 0; i < timeout && py.mPy->isRunning() && ! childout.contains("\n"); ++i) - { - yield(); - } + waitfor(*py.mPy); ensure("script never replied", childout.contains("\n")); ensure_equals("child didn't ack", childout.getline(), "ack"); ensure_equals("bad child termination", py.mPy->getStatus().mState, LLProcess::EXITED); |