X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fserver.cc;h=bfb265cdb5811520b22a45d0a689ac36e29f1a96;hb=cbec7a4b9613b8ae3807539fae3a29ed8aff4984;hp=d024d054ab02e4e6d1e284c7a601930f49f8238e;hpb=cc7f3ad60dd92d7e41e0efbf922bb4f6fc9a848f;p=awesomized%2Flibmemcached diff --git a/libtest/server.cc b/libtest/server.cc index d024d054..bfb265cd 100644 --- a/libtest/server.cc +++ b/libtest/server.cc @@ -43,6 +43,7 @@ #include #include #include +#include #include #include @@ -129,9 +130,8 @@ Server::~Server() bool Server::check() { - _app.slurp(); - _app.check(); - return true; + _app.clear(); + return _app.check(); } bool Server::validate() @@ -197,14 +197,6 @@ bool Server::has_pid() const bool Server::start() { - // If we find that we already have a pid then kill it. - if (has_pid() == true) - { -#if 0 - fatal_message("has_pid() failed, programer error"); -#endif - } - if (getenv("YATL_GDB_SERVER")) { _app.use_gdb(true);