summaryrefslogtreecommitdiffstats
path: root/tools/regression/sockets
Commit message (Collapse)AuthorAgeFilesLines
...
* Modify accept_fd_leak regression test to generate "PASS" output, notrwatson2004-09-181-2/+3
| | | | | just "FAIL" output, in order to make it consistent with other tests in the regression test tree.
* Join the effort in simplifying this makefile. ;)ru2004-09-031-3/+1
|
* Pass O_NONBLOCK directly to fcntl() rather than the pointer to an intrwatson2004-09-021-12/+8
| | | | | holding the value O_NONBLOCK. This worked previously because I was lucky.
* Don't override the rule used to build a binary by providing our ownrwatson2004-09-021-1/+0
| | | | compiler line.
* Make sure to properly initialize 'size' to sizeof(sin) before passingrwatson2004-08-241-0/+1
| | | | | it into accept(). Depending on the initial value in memory, it is otherwise possible to get EINVAL.
* Add a basic kqueue + UNIX domain socket pair regression test to do somerwatson2004-08-242-0/+340
| | | | | | elementary exercising of kqueues on datagram and stream sockets. Note that the datagram write kqueue case is left untested due to potentially confusing behavior for the developer (me) that might require attention.
* Add minimal socketpair() regression test to confirm that we can createrwatson2004-08-042-0/+139
| | | | | (and close) PF_UNIX socket pairs, and that we can't create PF_INET socket pairs. More tests to follow.
* Simple attachment regression test to attach the "accf_data" acceptrwatson2004-07-262-0/+211
| | | | | | filter to an inet socket and check at various points during the socket life cycle that the filter can or cannot be attached, and that once attached that the right one is attached and that it can be queried.
* Add simple regression test to detect leakage of file descriptors whenrwatson2004-07-172-0/+142
accept() returns EAGAIN on a non-blocking listen socket. This is the tool I used to check that such a bug was resolved when merging accept() locking.
OpenPOWER on IntegriCloud