test/shutdown: ignore SIGPIPE
#include "liburing.h"
+static void sig_pipe(int sig)
+{
+}
+
int main(int argc, char *argv[])
{
int p_fd[2];
@@ -62,6 +66,8 @@ int main(int argc, char *argv[])
p_fd[0] = accept(recv_s0, NULL, NULL);
assert(p_fd[0] != -1);
+ signal(SIGPIPE, sig_pipe);
+
while (1) {
int32_t code;
socklen_t code_len = sizeof(code);
