Remove dead tests.
[m6w6/libmemcached] / libtest / killpid.h
index 83c7bb0a94c87591a7e7dd584c81246d3ff86b24..e35f8d994ec58b027788b2dfffb366d55fec567b 100644 (file)
 
 bool kill_pid(pid_t pid_arg);
 
-pid_t kill_file(const std::string &filename);
+bool kill_file(const std::string &filename);
 
-pid_t get_pid_from_file(const std::string &filename);
+bool check_pid(const std::string &filename);
+
+pid_t get_pid_from_file(const std::string &filename, std::stringstream& error_message);
+
+static inline bool check_pid(pid_t pid_arg)
+{
+  return (pid_arg > 1);
+}