From f00a5e650368c28026bb3e97fdb05ab8fb686761 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 16 Sep 2011 15:36:35 -0700 Subject: [PATCH] ignore SIGPIPE in tests --- test/runner-unix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/runner-unix.c b/test/runner-unix.c index 0bbfd62e..6033d642 100644 --- a/test/runner-unix.c +++ b/test/runner-unix.c @@ -65,6 +65,8 @@ void platform_init(int argc, char **argv) { #else strcpy(executable_path, argv[0]); #endif + + signal(SIGPIPE, SIG_IGN); }