From 62f015300fc0c47337b62017598fef6ea3a6d024 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 21 Feb 2008 17:32:00 +0000 Subject: Make the output for the test run a bit neater git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8984 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/testsuite.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/testsuite.cpp b/src/testsuite.cpp index 719da0313..841c1c41b 100644 --- a/src/testsuite.cpp +++ b/src/testsuite.cpp @@ -116,11 +116,11 @@ bool TestSuite::DoThreadTests() cout << "Create new thread based on TestSuiteThread...\n"; te->Create(tst); - cout << "Press any key to end test.\n"; - getchar(); + cout << "Type any line and press enter to end test.\n"; + cin >> anything; /* Thread engine auto frees thread on delete */ - cout << "Waiting for thread to exit..."; + cout << "Waiting for thread to exit... " << flush; delete tst; cout << "Done!\n"; -- cgit v1.2.3