Commit f1501b5b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

try to get more comprehensive core dumps on test timeouts

parent 4e5107db
......@@ -149,12 +149,9 @@ tst_cb(const struct vev *ve, int what)
CAST_OBJ_NOTNULL(jp, ve->priv, JOB_MAGIC);
// printf("%p %s %d\n", ve, jp->tst->filename, what);
if (what == 0) {
/* XXX: Timeout */
AZ(kill(jp->child, SIGKILL));
jp->evt = NULL;
return (1);
}
if (what == 0)
AZ(kill(jp->child, SIGKILL)); /* XXX: Timeout */
else
assert(what & (EV_RD | EV_HUP));
*buf = '\0';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment