git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@28 b3372362-9eaa-4a85-aa2b-6faa1ab7c995master
| << std::endl; | << std::endl; | ||||
| return false; | return false; | ||||
| } | } | ||||
| // Sleep to let the child exit. | |||||
| std::this_thread::sleep_for(std::chrono::milliseconds(100)); | |||||
| if (!child.isDone()) { | |||||
| std::cout << "first isDone() failure in testReader." << std::endl; | |||||
| return false; | |||||
| } | |||||
| if (!child.isDone()) { | if (!child.isDone()) { | ||||
| std::cout << "isDone() failure in testReader." << std::endl; | |||||
| std::cout << "second isDone() failure in testReader." << std::endl; | |||||
| return false; | return false; | ||||
| } | } | ||||