summaryrefslogtreecommitdiffstats
path: root/regress/sys/dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove echo headlines. Use consistent target names.bluhm2020-12-162-13/+9
|
* add kcov remote interrupt coverage testanton2020-10-032-3/+36
|
* sync usageanton2020-10-031-2/+2
|
* add kcov remote coverage testsanton2020-08-012-29/+107
|
* Add a regression test for vnd(4).visa2020-03-122-1/+29
|
* Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andvisa2020-01-081-2/+2
| | | | | | | | | | | | FIOGETOWN/SIOCGPGRP/TIOCGPGRP. Do this by determining the meaning of the ID parameter inside the sigio code. Also add cases for FIOSETOWN and FIOGETOWN where there have been TIOCSPGRP and TIOCGPGRP before. These changes allow removing the ID translation from sys_fcntl() and sys_ioctl(). Idea from NetBSD OK mpi@, claudio@
* pass a context struct to each test function in order to reduce future churnanton2019-05-191-62/+71
|
* test different buffer sizesanton2019-05-142-26/+40
|
* Do not run keyboard and mouse device detection during make clean,bluhm2019-03-211-1/+3
| | | | | | cleandir, obj. Eliminates a X11 keyboard problem seen by claudio@ during make build. OK anton@ deraadt@
* Disable wscons regress test for now. This test is touching /dev entriesclaudio2019-03-181-2/+2
| | | | | and the result is a rather annoying keyboard repeat issue. Finding this was a bit of a saga. OK by many
* Skip tests for wscons devices that do not exist on the local machine.bluhm2019-02-121-1/+16
| | | | from Moritz Buhl
* make it easier to ignore incompatible device and test case combinationsanton2019-02-011-4/+6
|
* fix dumping of trace cmp coverageanton2019-01-231-2/+2
|
* run all tests for each supported trace modeanton2019-01-202-2/+33
|
* remove mmap test for nowanton2019-01-192-24/+2
|
* test latest mmap() changesanton2019-01-162-2/+24
|
* extract check_coverage() routine and continue preparing for testing differentanton2019-01-031-17/+33
| | | | trace modes
* Cope with latest change to KIOENABLE. While here, make it possible to testanton2018-12-272-40/+51
| | | | different trace modes.
* sort and rename testsanton2018-12-272-45/+45
|
* test dying kcov descriptor logicanton2018-12-252-2/+45
|
* add missing dependency on PROGanton2018-12-171-1/+4
|
* ensure inappropriate ioctl commands are rejectedanton2018-12-172-1/+69
|
* rework wscons regress:anton2018-12-174-86/+133
| | | | | * generalize to allow for multiple test programs * stop abusing REGRESS_SKIP_TARGETS
* split tests into multiple make targetsanton2018-12-162-25/+36
|
* split up long lineanton2018-11-201-2/+10
|
* test getownanton2018-11-202-3/+82
|
* test fcntl(F_SETOWN)anton2018-11-202-30/+66
|
* +wsconsanton2018-11-161-1/+2
|
* Add wscons regress tests, currently limited to SIGIO handling.anton2018-11-162-0/+274
|
* Add regress for kcov. It will only run if /dev/kcov can be opened successfully.anton2018-08-263-2/+362
|
* remove test programs for the audio driver, as we've betterratchov2016-09-0614-2959/+1
| | | | | | converage with base tools and programs in regress/lib/libsndio ok deraadt
* Pull in <sys/time.h> for gettimeofday()guenther2016-08-271-6/+7
| | | | | | Sort #includes ok deraadt@
* Drop a few NULL-checks before free()mmcc2015-11-171-25/+13
|
* use calloc, from Benjamin Baiertedu2014-05-291-5/+3
|
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>schwarze2013-07-162-6/+6
|
* Replace strncat() with strlcat().mglocker2010-07-221-3/+3
|
* Change include ordering.mglocker2010-07-221-2/+2
|
* Initial regression test program for video(4).mglocker2010-07-222-0/+693
|
* respect the block size returned by the driverjakemsr2009-11-121-5/+8
|
* oops, too much copying from select(2) manualjakemsr2007-10-201-3/+3
| | | | noticed by and fix from deanna@, thanks
* fix off by ones in the AUDIO_GET[PR]RINFO testsjakemsr2007-10-191-3/+3
|
* add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and thejakemsr2007-10-033-18/+83
| | | | | | | | | | | | | | data structure these ioctls use, audio_bufinfo. these ioctls return information about the play and record buffers into the audio_bufinfo structure. these are being added to aid in porting non-native audio applications and libraries, and to fix issues in our OSS audio emulation. these ioctls exist only on OpenBSD and should not be used in code intended for distribution. ok ratchov
* - remove commented out 'extern errno' declarationjakemsr2007-08-261-7/+1
| | | | - remove pointless AUDIO_FLUSH.
* add a function to trigger recording and use it for full-duplex modejakemsr2007-08-261-1/+21
|
* set the blocksize to the size of the read/write buffers.jakemsr2007-07-311-4/+6
| | | | | | | | | | | | | the blocksize matters for the poll() cases because we pass the poll when reading from the device when there is any data in the record buffer. since data is transfered into the buffer in blocksize chunks, if there was no and now is some data in the buffer, there is probably about blocksize bytes of data in the buffer. if in non-blocking mode, which is common when using poll(), and we try to read() more bytes than are in the record buffer, we will receive an EAGAIN. if we read() in blocksize chunks, we will never try to read more than is available. a more eloquent version of the above description should be in audio(4).
* pass command line options to audiotest_rw through OPTS, e.g.jakemsr2007-07-311-17/+17
| | | | $ OPTS="-e 1 -r 22050 -c 1 -b 1024" DO_AUTEST=1 make
* - document -vjmc2007-07-062-4/+6
| | | | - tweak usage()
* remove another $Id$, forgotten in last commitjakemsr2007-07-061-2/+1
|
* proper RCS tagsjakemsr2007-07-063-5/+6
|
* manpage improvements from jmc@jakemsr2007-07-062-43/+38
|