Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a regression test for kqueue recursion. Also check that select(2) | 2020-03-08 | 2 | -2/+141 | |
| | | | | and poll(2) work with kqueue. | ||||
* | add kqueue pty close slave test | 2019-03-04 | 2 | -2/+37 | |
| | |||||
* | add support for multiple kqueue pty tests | 2019-03-04 | 4 | -15/+27 | |
| | |||||
* | one regress test per line to reduce future churn | 2019-03-04 | 1 | -4/+16 | |
| | |||||
* | Add a regression test for the kernel stack exhaustion bug. | 2018-08-24 | 2 | -3/+69 | |
| | | | | OK anton@ | ||||
* | Add a test covering the recently fixed issue with dangling knote references upon | 2018-08-13 | 4 | -13/+92 | |
| | | | | closing a kqueue file descriptor. | ||||
* | Improve synchronization between the parent and children. This fixes | 2018-08-03 | 1 | -27/+35 | |
| | | | | | | | a spurious test failure spotted by anton@ and eliminates sleeping in the test. Feedback and OK anton@ | ||||
* | fix usage | 2018-06-17 | 1 | -2/+3 | |
| | |||||
* | Add a test covering the panic found in knote_processexit(). Note that you'll | 2018-06-17 | 4 | -6/+45 | |
| | | | | | need a kernel with the latest changes to kqueue in order to not panic your machine while running the tests. | ||||
* | kevent: correctly check that timeout's nanoseconds are on [0, 1000000000) | 2018-05-22 | 4 | -6/+41 | |
| | | | | | | | | | | | Validate the input with timespecfix before truncating to a timeval. timespecfix does not round, so we need to to it by hand after validation. FreeBSD and NetBSD check the input with this range, we ought to as well. Also add a regression test for this case. ok tb@ | ||||
* | Prefer <fcntl.h> over <sys/fcntl.h> in userland | 2018-04-26 | 1 | -6/+3 | |
| | | | | | | While here, delete some extra #includes and apply style(9) sort rules. ok deraadt@ krw@ mpi@ | ||||
* | Use /dev/console as a template for the pseudo tty, stdin may be not | 2016-09-21 | 1 | -8/+25 | |
| | | | | | | a terminal. Check wether tcgetattr() can read the values. Do not only verify that kqueue does not report unwanted events but also that expected events exist. | ||||
* | To make debugging the kqueue test easier, always print the assertion | 2016-09-20 | 13 | -165/+145 | |
| | | | | failure before returning. | ||||
* | When passing the (1ULL << 32) to EV_SET, it gets casted to __uintptr_t. | 2016-09-04 | 1 | -2/+2 | |
| | | | | | | On 32 bit architectues, the high bit is lost and the test fails. Create an invalid pid in the lower 32 bits. OK guenther@ | ||||
* | Prevent silly states via knotes on pids > 2^32 and on nonexistent signals. | 2016-07-14 | 2 | -2/+17 | |
| | | | | ok tedu@ | ||||
* | Last parameter to execl[e]() functions *must* be cast to a pointer. | 2016-03-17 | 1 | -2/+2 | |
| | | | | | | | | | | | | Just NULL is not good practise as NULL is theoretically allowed to be an integer rather than a pointer. Use (char *)NULL consistently instead of scattering a few (char *)0 and (void *)NULL into the mix. Prompted by and probably ok deraadt@ millert@ kettenis@ Definitely ok mestre@ ratchov@ | ||||
* | simplistic regress test for KEVENT_TIMER kqueue(2) calls | 2015-12-05 | 3 | -5/+78 | |
| | | | | ok and prodding tedu@ | ||||
* | NOTE_FORK|NOTE_TRACK knote can track grandchild processes. Wait for | 2015-08-13 | 1 | -4/+10 | |
| | | | | both child/grandchild process events. | ||||
* | Zero-clear test buffers. Close fds. | 2015-08-13 | 1 | -1/+4 | |
| | |||||
* | Close an fd. | 2015-08-13 | 1 | -1/+2 | |
| | |||||
* | Zero-clear test buffer. Close fds. | 2015-08-13 | 1 | -1/+6 | |
| | |||||
* | Zero-clear test buffer. | 2015-08-13 | 1 | -1/+3 | |
| | |||||
* | Zero-clear test buffer. KNF while here. | 2015-08-13 | 1 | -3/+8 | |
| | |||||
* | Kill a useless assignment. | 2015-08-02 | 1 | -2/+1 | |
| | |||||
* | Refactor to prepare a future change; no functional changes. | 2015-08-02 | 1 | -14/+16 | |
| | |||||
* | SPC -> TAB | 2015-08-01 | 1 | -32/+32 | |
| | |||||
* | Disable kq-tun test, as it's been broken for a while and not because of kq | 2015-04-25 | 1 | -2/+3 | |
| | |||||
* | using /dev/random is ok | 2014-11-22 | 1 | -3/+3 | |
| | |||||
* | missing argument to printf | 2013-01-07 | 1 | -2/+3 | |
| | |||||
* | Add a test for kevent(EV_DELETE) screwing with POSIX file locks | 2012-07-08 | 3 | -5/+103 | |
| | |||||
* | Add tests for kqueue EVFILT_SIGNAL and that they can't be passed over | 2011-07-07 | 4 | -8/+200 | |
| | | | | sockets | ||||
* | braces rock! | 2011-07-07 | 1 | -2/+3 | |
| | |||||
* | Switch to a device that isn't deprecated and return more info on | 2011-07-06 | 1 | -3/+4 | |
| | | | | read failure | ||||
* | do not rely on rndvar.h leaking shit into the namespace | 2011-01-07 | 1 | -2/+2 | |
| | |||||
* | tun* interfaces are now automatically destroyed on last close when | 2010-08-04 | 1 | -3/+1 | |
| | | | | originally created by opening /dev/tun* | ||||
* | Confirm that a NOTE_EXIT knote is delivered when the child exits | 2010-08-04 | 1 | -3/+19 | |
| | | | | Fix a C thinko | ||||
* | Do not print "Read from tunnel foo failed" in the failure case of a | 2010-06-26 | 1 | -2/+2 | |
| | | | | | | function named "tunnel_write", tell people that a write failed. ok claudio@ | ||||
* | define REGRESS_ROOT_TARGETS for tests that require root privileges | 2004-12-29 | 1 | -1/+2 | |
| | |||||
* | regress tests full of warnings make me go red | 2004-02-28 | 1 | -5/+5 | |
| | |||||
* | destroy, not delete tunXX | 2003-12-07 | 1 | -3/+3 | |
| | |||||
* | - use tun98 and tun99 and not interfere with existing tun(4) | 2003-12-07 | 2 | -16/+22 | |
| | | | | | | | - use IPs from the example rage - destroy tun98/99 after the test - test all of select/poll and kqueue ok deraadt | ||||
* | delete nasty mickey change | 2003-12-02 | 1 | -5/+1 | |
| | |||||
* | tun(4) select+kq tests from Christopher Maxwell <cmaxwell@themanor.net> w/ little mods of mine | 2003-12-02 | 3 | -8/+189 | |
| | |||||
* | various cleanups; david says results are same | 2003-07-31 | 5 | -7/+17 | |
| | |||||
* | fix the license | 2003-07-31 | 2 | -4/+4 | |
| | |||||
* | better LDADD | 2003-06-15 | 1 | -2/+2 | |
| | |||||
* | it has been brought to my attention that i have forgotten a license on this file | 2003-06-12 | 1 | -1/+3 | |
| | |||||
* | ugh. cleanup debugging | 2003-06-12 | 2 | -21/+10 | |
| | |||||
* | test for kqueue on ptys (to verify pr3209) | 2003-06-12 | 3 | -6/+127 | |
| | |||||
* | -Wall and calc fix in the random | 2003-06-12 | 2 | -5/+9 | |
| |