]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Make the output for the test run a bit neater
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 21 Feb 2008 17:32:00 +0000 (17:32 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 21 Feb 2008 17:32:00 +0000 (17:32 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8984 e03df62e-2008-0410-955e-edbf42e46eb7

src/testsuite.cpp

index 719da031319c21455ea8ff360cd4a316c21b0bd2..841c1c41bdab2c5dff3600410428a795ec2511a6 100644 (file)
@@ -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";