[3.0] d1bf3bb Ignore SIGPIPE, it causes the test-executing subprocess to bail out before all diagnostics have been gathered.
Tollef Fog Heen
tfheen at varnish-cache.org
Mon Apr 16 10:20:34 CEST 2012
commit d1bf3bbace16c95064f8197e1cbcbc3173533c88
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Oct 25 08:15:35 2011 +0000
Ignore SIGPIPE, it causes the test-executing subprocess to bail out
before all diagnostics have been gathered.
Conflicts:
bin/varnishtest/vtc.c
diff --git a/bin/varnishtest/vtc.c b/bin/varnishtest/vtc.c
index 3bee42a..53cbdcd 100644
--- a/bin/varnishtest/vtc.c
+++ b/bin/varnishtest/vtc.c
@@ -530,6 +530,8 @@ exec_file(const char *fn, const char *script, const char *tmpdir,
FILE *f;
struct extmacro *m;
+ signal(SIGPIPE, SIG_IGN);
+
vtc_loginit(logbuf, loglen);
vltop = vtc_logopen("top");
AN(vltop);
More information about the varnish-commit
mailing list