diff options
author | Russ Allbery <eagle@eyrie.org> | 2016-09-05 10:27:30 -0700 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2016-09-05 10:27:30 -0700 |
commit | cc4957d170c9163fb2b8a5c2b1c7b5dfba3786d3 (patch) | |
tree | 41557791176bc67322c3005d2a8448803866dfc7 /tests | |
parent | 08a14b1d26d5369c39ea25e1143cb6395907bc99 (diff) |
Improve network/server test context
The network_accept_any test had no introductory comment, so it was
hard to tell from the detailed test output what was being tested.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/util/network/server-t.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/util/network/server-t.c b/tests/util/network/server-t.c index 87c0946..1c5605a 100644 --- a/tests/util/network/server-t.c +++ b/tests/util/network/server-t.c @@ -450,6 +450,7 @@ test_any(void) if (!network_bind_all(SOCK_STREAM, 11119, &fds, &count)) sysbail("cannot create or bind socket"); + ok(1, "network_accept_any test"); for (i = 0; i < count; i++) if (listen(fds[i], 1) < 0) sysbail("cannot listen to socket %d", fds[i]); @@ -535,7 +536,7 @@ int main(void) { /* Set up the plan. */ - plan(42); + plan(43); /* Test network_bind functions. */ test_ipv4(NULL); |