summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-21 17:32:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-21 17:32:00 +0000
commit62f015300fc0c47337b62017598fef6ea3a6d024 (patch)
tree9de0da0640c3da594263a80969451ffb2bdb971f /src
parent4d4882d667c2c2eea180219e0c76d15cc1f49415 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/testsuite.cpp6
1 files 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";