Lines Matching refs:test
40 * This regression test is intended to validate that the backlog parameter
45 * Future things to test:
54 * - That we also test SO_LISTENQLEN and SO_LISTENINCQLEN.
70 const char *test, const char *testfunc)
78 "SOL_SOCKET, SO_LISTENQLIMIT)", testclass, test,
86 testclass, test, testfunc, len);
103 const char *test)
110 test, domainstring, typestring);
115 if (socket_get_backlog(sock, &backlog_retrieved, testclass, test,
123 testclass, test, backlog_retrieved,
130 warn("%s: %s: socket_listen: listen(, %d)", testclass, test,
136 if (socket_get_backlog(sock, &backlog_retrieved, testclass, test,
144 testclass, test, backlog_retrieved,
155 * This test creates sockets and tests default states before and after
225 const char *typestring, const char *testclass, const char *test)
232 testclass, test, domainstring, typestring);
238 testclass, test, backlog);
243 if (socket_get_backlog(sock, &backlog_retrieved, testclass, test,
251 "not %d", testclass, test, backlog_retrieved,
259 testclass, test, update_backlog);
264 if (socket_get_backlog(sock, &backlog_retrieved, testclass, test,
272 "not %d", testclass, test, backlog_retrieved,
283 * This test tests using listen() to update the queue depth after a socket
284 * has already been marked as listening. We test several cases: setting the