[experimental-ims] 2a8a885 More details about failing test subprocesses.
Geoff Simmons
geoff at varnish-cache.org
Mon Jan 9 21:51:58 CET 2012
commit 2a8a885a1998cb4a31e45c61b00d8bc5017dc6c6
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Sep 20 09:40:44 2011 +0000
More details about failing test subprocesses.
diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index b280022..b189d1e 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -224,8 +224,11 @@ tst_cb(const struct vev *ve, int what)
free(jp->tmpdir);
if (stx) {
- printf("# top TEST %s FAILED (%.3f)\n",
+ printf("# top TEST %s FAILED (%.3f)",
jp->tst->filename, t);
+ if (WIFSIGNALED(stx))
+ printf(" signal=%d", WTERMSIG(stx));
+ printf(" exit=%d", WEXITSTATUS(stx));
if (!vtc_continue) {
/* XXX kill -9 other jobs ? */
exit(2);
More information about the varnish-commit
mailing list