diff options
Diffstat (limited to 'indra/llcommon')
| -rwxr-xr-x | indra/llcommon/llapp.cpp | 2 | ||||
| -rwxr-xr-x | indra/llcommon/tests/llprocess_test.cpp | 5 | 
2 files changed, 2 insertions, 5 deletions
| diff --git a/indra/llcommon/llapp.cpp b/indra/llcommon/llapp.cpp index c6da205815..67e6705cbf 100755 --- a/indra/llcommon/llapp.cpp +++ b/indra/llcommon/llapp.cpp @@ -328,7 +328,7 @@ void LLApp::setupErrorHandling()  	// future releases of Darwin.  This test is really only needed for developers  	// starting the app from a debugger anyway.  	#ifndef LL_RELEASE_FOR_DOWNLOAD -    int mib[4]; +    	int mib[4];  	mib[0] = CTL_KERN;  	mib[1] = KERN_PROC;  	mib[2] = KERN_PROC_PID; 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); | 
