From 7ed5b42b1fd13d9101e59348514b1d0de7085682 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 21 Feb 2008 16:10:32 +0000 Subject: Testsuite stuff and fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8977 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 907a4c14d..9748e9472 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -38,6 +38,7 @@ #include "command_parse.h" #include "exitcodes.h" #include "caller.h" +#include "testsuite.h" using irc::sockets::insp_ntoa; using irc::sockets::insp_inaddr; @@ -381,6 +382,9 @@ InspIRCd::InspIRCd(int argc, char** argv) } } + if (do_testsuite) + do_nofork = do_debug = true; + if (do_version) { printf("\n%s r%s\n", VERSION, REVISION); -- cgit v1.2.3