diff --git a/test/echo-server.c b/test/echo-server.c index 6b0d8972..d663d605 100644 --- a/test/echo-server.c +++ b/test/echo-server.c @@ -298,6 +298,14 @@ static int udp4_echo_start(int port) { static int pipe_echo_start(char* pipeName) { int r; +#ifndef _WIN32 + { + uv_fs_t req; + uv_fs_unlink(uv_default_loop(), &req, pipeName, NULL); + uv_fs_req_cleanup(&req); + } +#endif + server = (uv_handle_t*)&pipeServer; serverType = PIPE;