static void finish_waker(struct io_conn *conn, struct data *d)
{
+ ok1(io_is_idle(idler));
io_wake(idler, io_read(d->buf, sizeof(d->buf), read_done, d));
ok1(d->state == 1);
d->state++;
int fd, status;
/* This is how many tests you plan to run */
- plan_tests(13);
+ plan_tests(14);
d->state = 0;
fd = make_listen_fd(PORT, &addrinfo);
ok1(fd >= 0);