summaryrefslogtreecommitdiffstats
path: root/regress/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2020-12-16Remove echo headlines. Use consistent target names.bluhm2-13/+9
2020-10-03add kcov remote interrupt coverage testanton2-3/+36
2020-10-03sync usageanton1-2/+2
2020-08-01add kcov remote coverage testsanton2-29/+107
2020-03-12Add a regression test for vnd(4).visa2-1/+29
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andvisa1-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@
2019-05-19pass a context struct to each test function in order to reduce future churnanton1-62/+71
2019-05-14test different buffer sizesanton2-26/+40
2019-03-21Do not run keyboard and mouse device detection during make clean,bluhm1-1/+3
cleandir, obj. Eliminates a X11 keyboard problem seen by claudio@ during make build. OK anton@ deraadt@
2019-03-18Disable wscons regress test for now. This test is touching /dev entriesclaudio1-2/+2
and the result is a rather annoying keyboard repeat issue. Finding this was a bit of a saga. OK by many
2019-02-12Skip tests for wscons devices that do not exist on the local machine.bluhm1-1/+16
from Moritz Buhl
2019-02-01make it easier to ignore incompatible device and test case combinationsanton1-4/+6
2019-01-23fix dumping of trace cmp coverageanton1-2/+2
2019-01-20run all tests for each supported trace modeanton2-2/+33
2019-01-19remove mmap test for nowanton2-24/+2
2019-01-16test latest mmap() changesanton2-2/+24
2019-01-03extract check_coverage() routine and continue preparing for testing differentanton1-17/+33
trace modes
2018-12-27Cope with latest change to KIOENABLE. While here, make it possible to testanton2-40/+51
different trace modes.
2018-12-27sort and rename testsanton2-45/+45
2018-12-25test dying kcov descriptor logicanton2-2/+45
2018-12-17add missing dependency on PROGanton1-1/+4
2018-12-17ensure inappropriate ioctl commands are rejectedanton2-1/+69
2018-12-17rework wscons regress:anton4-86/+133
* generalize to allow for multiple test programs * stop abusing REGRESS_SKIP_TARGETS
2018-12-16split tests into multiple make targetsanton2-25/+36
2018-11-20split up long lineanton1-2/+10
2018-11-20test getownanton2-3/+82
2018-11-20test fcntl(F_SETOWN)anton2-30/+66
2018-11-16+wsconsanton1-1/+2
2018-11-16Add wscons regress tests, currently limited to SIGIO handling.anton2-0/+274
2018-08-26Add regress for kcov. It will only run if /dev/kcov can be opened successfully.anton3-2/+362
2016-09-06remove test programs for the audio driver, as we've betterratchov14-2959/+1
converage with base tools and programs in regress/lib/libsndio ok deraadt
2016-08-27Pull in <sys/time.h> for gettimeofday()guenther1-6/+7
Sort #includes ok deraadt@
2015-11-17Drop a few NULL-checks before free()mmcc1-25/+13
2014-05-29use calloc, from Benjamin Baiertedu1-5/+3
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>schwarze2-6/+6
2010-07-22Replace strncat() with strlcat().mglocker1-3/+3
2010-07-22Change include ordering.mglocker1-2/+2
2010-07-22Initial regression test program for video(4).mglocker2-0/+693
2009-11-12respect the block size returned by the driverjakemsr1-5/+8
2007-10-20oops, too much copying from select(2) manualjakemsr1-3/+3
noticed by and fix from deanna@, thanks
2007-10-19fix off by ones in the AUDIO_GET[PR]RINFO testsjakemsr1-3/+3
2007-10-03add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and thejakemsr3-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
2007-08-26- remove commented out 'extern errno' declarationjakemsr1-7/+1
- remove pointless AUDIO_FLUSH.
2007-08-26add a function to trigger recording and use it for full-duplex modejakemsr1-1/+21
2007-07-31set the blocksize to the size of the read/write buffers.jakemsr1-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).
2007-07-31pass command line options to audiotest_rw through OPTS, e.g.jakemsr1-17/+17
$ OPTS="-e 1 -r 22050 -c 1 -b 1024" DO_AUTEST=1 make
2007-07-06- document -vjmc2-4/+6
- tweak usage()
2007-07-06remove another $Id$, forgotten in last commitjakemsr1-2/+1
2007-07-06proper RCS tagsjakemsr3-5/+6
2007-07-06manpage improvements from jmc@jakemsr2-43/+38