| 53 | } |
| 54 | |
| 55 | bool TestRedisServer::Stop() { |
| 56 | if (pid != 0) { |
| 57 | kill(pid, 9); |
| 58 | pid = 0; |
| 59 | return true; |
| 60 | } |
| 61 | return false; |
| 62 | } |
| 63 | |
| 64 | bool TestRedisServer::WaitProcess(int pipefd[2]) { |
| 65 | close(pipefd[1]); |
no outgoing calls
no test coverage detected