summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2007-10-20oops, too much copying from select(2) manualJacob Meuser
noticed by and fix from deanna@, thanks
2007-10-19fix off by ones in the AUDIO_GET[PR]RINFO testsJacob Meuser
2007-10-13Do not attempt to work on more than SHMMAXPGS pages, makes this run unmodifiedMiod Vallat
on vax.
2007-10-03add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and theJacob Meuser
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' declarationJacob Meuser
- remove pointless AUDIO_FLUSH.
2007-08-26add a function to trigger recording and use it for full-duplex modeJacob Meuser
2007-08-01Fix Dutch hypos.Miod Vallat
2007-07-31set the blocksize to the size of the read/write buffers.Jacob Meuser
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.Jacob Meuser
$ OPTS="-e 1 -r 22050 -c 1 -b 1024" DO_AUTEST=1 make
2007-07-06- document -vJason McIntyre
- tweak usage()
2007-07-06remove another $Id$, forgotten in last commitJacob Meuser
2007-07-06proper RCS tagsJacob Meuser
2007-07-06manpage improvements from jmc@Jacob Meuser
2007-07-06regression tests for various audio read(2) and write(2) scenariosJacob Meuser
2007-07-06regression test for AUDIO_GETINFO/AUDIO_SETINFO ioctlsJacob Meuser
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29the MSIZE mbuf constant moved from MD param.h to MI param.hDavid Krause
ok deraadt@ millert@
2007-05-21Add mmap_mod.Artur Grabowski
2007-05-21A test for a corner-case that some pmaps get wrong.Artur Grabowski
2007-04-29add sig-stop.Artur Grabowski
2007-04-29Quite dumb test for torturing SIGSTOP/SIGCONT.Artur Grabowski
2007-04-25- add ability to specify a tone to be played (defaults to 440hz)Jason Wright
- stop using atoi ... use strtod/strtol - fixing timing stuff for alaw/8
2007-04-14Add code to check the kern.securelvel sysctl, since we run with aThordur I. Bjornsson
default securelevel of 1, files with the SF_APPEND or SF_IMMUTBLE flag set cant be removed (or the have the flag removed) so we get alot of false postives. Instead of creating duplicte tests for different securelevels we simply remove these flags for the call to chflags(); This however makes some of the test a little corny but we agreed this was better. ok pedro@, tedu@
2007-04-12Remove the SF_NOUNLINK and UF_NOUNLINK from the test files, we dontThordur I. Bjornsson
support them; Cuts down false-postives. ok pedro@
2007-04-10No need to use umount -f now that both cases of vnode leakage were fixedPedro Martelletto
2007-03-30Don't assume 'run' to be executable, pointed out and okay deraadt@Pedro Martelletto
2007-03-30Add regression test suite for FFS, from FreeBSD, okay art@ deraadt@Pedro Martelletto
2006-10-23regression test for getpeereid. okay claudioMarc Espie
2006-05-08Clean the internal m88k trap type codes; while there, simplify andMiod Vallat
factorize the build of the VBR page betweem luna88k and mvme88k. Tested by aoyama@ and I.
2006-04-06enable mmap_fixed regressKurt Miller
2006-04-06add a regress that repetitively calls mmap with MMAP_FIXED on the sameKurt Miller
region of memory to ensure process datasize is properly calculated. this time in the righ place *sigh* ok pedro@
2006-03-14trailing spaces and lines no moreMichael Shalayeff
2006-02-20make it more evil and panic; from egger@Michael Shalayeff
2006-02-15use proper msyncMichael Shalayeff
2006-02-01double semicolon; from Daniel Matic in PR 4929Otto Moerbeek
2005-12-07Sorry, committed the wrong MakefilePedro Martelletto
2005-12-07Moved to regress/sys/dev/fdescPedro Martelletto
2005-12-07Move Art's fdescfs regress to a now more appropriate placePedro Martelletto
2005-12-06Remove fdescfsPedro Martelletto
2005-09-27various fixups;Jason McIntyre
ok jason@
2005-09-27report time duration required to play sample then % error of sample rate.Dale Rahn
from PR 4304. Also added support for different sample rate requests. ok jason@
2005-09-25Do not consider userland trap #496 (BUG system call on mvme88k) as specialMiod Vallat
anymore, since we don't want to allow userland to talk to the BUG. Deliver SIGSYS instead of doing nothing. Makes things simpler, plus it polluted luna88k.
2005-08-08A reghression test that checks if a process survives very early signalOtto Moerbeek
delivery. Very early is before fork() returns.
2005-07-20EFAULT from PT_IO is a good error value too.Artur Grabowski
2005-07-20run from .OBJDIRTheo de Raadt
2005-07-20Regress test for PT_READ_{D,I} and PT_IO. (write coming soon).Artur Grabowski
2005-07-15Make globals accessed from sig handler volatile. From millert@Otto Moerbeek
2005-07-13As mickey@ pointed out, this test does not belong in libm. Move toOtto Moerbeek
correct place.
2005-07-11+= mmap-failArtur Grabowski
2005-07-11Test that mmap fails properly.Artur Grabowski