X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fserver.h;h=b50b0b2e6fe516a125b679a614e2e14eba9af19c;hb=ec99120a205e0b807b05e3cbe386298075fd183f;hp=123d1c3255f6d85af7b9b4ee2b26ef35c3b55099;hpb=27ee6d2aea6210eaca004475600aba78b7170883;p=m6w6%2Flibmemcached diff --git a/libtest/server.h b/libtest/server.h index 123d1c32..b50b0b2e 100644 --- a/libtest/server.h +++ b/libtest/server.h @@ -124,6 +124,11 @@ public: return (_port != 0); } + virtual bool has_syslog() const + { + return false; + } + // Reset a server if another process has killed the server void reset() { @@ -148,6 +153,8 @@ public: return (_pid > 1); } + bool wait_for_pidfile() const; + bool check_pid(pid_t pid_arg) const { return (pid_arg > 1); @@ -170,7 +177,6 @@ public: bool command(std::string& command_arg); protected: - void nap(); bool set_pid_file(); private: