aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/kqueue/libkqueue/proc.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Fix various warnings in tests/sys/kqueue and bump WARNSAlex Richardson2020-04-181-6/+6
| | | | | | | | Reviewed By: kevans Differential Revision: https://reviews.freebsd.org/D24296 Notes: svn path=/head/; revision=360073
* kqueue tests: fix -fno-common buildKyle Evans2020-04-061-1/+0
| | | | | | | | | | | | | | | vnode_fd and kqfd are both shared among multiple CU; define them exactly once. In the case of vnode_fd, it was simply the declaration that needed correction. -fno-common will become the default in GCC10/LLVM11. MFC after: 3 days Notes: svn path=/head/; revision=359675
* Make whitespace more consistent in libkqueue tests.David Bright2018-11-271-1/+1
| | | | | | | | | | | | | | | | After r337820, which "corrected" some spaces-instead-of-tab whitespace issues in the libkqueue tests, jmg@ pointed out that these files were originally space-based, not tab-spaced, and so the correction should have been to get rid of the tabs that had been introduced in previous changes, not the spaces. This change does that. This is a whitespace only change; no functional change is intended. Reported by: jmg@ MFC after: 3 days Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=341068
* Fix several memory leaks.David Bright2018-08-141-1/+4
| | | | | | | | | | | | | | | | | The libkqueue tests have several places that leak memory by using an idiom like: puts(kevent_to_str(kevp)); Rework to save the pointer returned from kevent_to_str() and then free() it after it has been used. Reported by: asomers (pointer to Coverity), Coverity CID: 1296063, 1296064, 1296065, 1296066, 1296067, 1350287, 1394960 Sponsored by: Dell EMC Notes: svn path=/head/; revision=337812
* Move tests/sys/kqueue/... to tests/sys/kqueue/libkqueue/...Enji Cooper2016-09-061-0/+423
This is being done to clearly distinguish the libkqueue tests from the (soon to be imported) NetBSD tests. MFC after: 58 days Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=305467