summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2010-06-27GCC is being intelligent with our asm statements that were used to pad stuffArtur Grabowski
before and after a function. We made the assumption that the function would not be rearranged but would stay between our paddings. Haha, trusting gcc to not rearrange things, we've never had problems with that.
2010-06-26Do not print "Read from tunnel foo failed" in the failure case of aBret Lambert
function named "tunnel_write", tell people that a write failed. ok claudio@
2010-06-21Fix fpe handler in regress test. Tested and `looks good' phessler@.Paul Irofti
2010-06-21clean up all generated filesPeter Hessler
2010-06-20Add some missing includes, so we do not have implicit functionPeter Hessler
declarations. OK miod@, millert@
2010-06-20Add some missing includes, so we do not have implicit functionPeter Hessler
declarations. OK miod@ stsp@
2010-06-20remove the check for a comment that was removed in 2001Peter Hessler
pointed out by david@
2010-06-20Have the flock regress test actually depend on the flock regressPeter Hessler
program, so we have a chance of running pointed out (a long time ago) by david@
2010-02-14Sync with current state of the tree.Miod Vallat
2009-11-12respect the block size returned by the driverJacob Meuser
2009-10-13Make sure we do not loop when allocating an extent region with EX_CONFLICTOKMiod Vallat
and the whole extent is used; the current code computations would wrap. Found the hard way by jsg@, fix discuss with kettenis@, and you get a regress test for free (which will spin if you compile it again an old subr_extent.c)
2009-09-18Add regression test for overlapping allocation that should coallesce butMark Kettenis
currently doesn't.
2009-04-10Add EX_CONFLICTOK flag that allows an allocation to conflict with existingMark Kettenis
allocations, making sure that the union of all space is allocated. ok deraadt@
2009-03-14Add mips64 and sh support to this test.Miod Vallat
2009-02-15Add an ENAMETOOLONG test case for copyinstr(), inspired by sthen@'s code.Joel Sing
ok sthen@ miod@
2008-09-19adjust for MAXINTERP crank, pointed out by dkrause@Damien Miller
2008-09-02fix builds for when obj/ presentDamien Miller
fix gcc warnings add licenses ok damien@
2008-08-22Test the IPv6 address printing of pf_print_host() in net/pf.c.Alexander Bluhm
help and ok mpf
2008-08-12test vectors for HMAC-MD5, HMAC-SHA1, HMAC-SHA256, AES-128-CMAC,Damien Bergamini
AES Key Wrap. ok djm@
2008-07-26Make sure the test array is 64 bit aligned, this now makes sparc fail thisMiod Vallat
test.
2008-07-25flockArtur Grabowski
2008-07-25file advisory locking tests from FreeBSD. We fail to detectArtur Grabowski
two deadlocks at the moment.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-12+aes testsDamien Miller
2008-06-12blocksize=128 keysize={128,256} AES test vectors from Dr. Brian GladmanDamien Miller
http://fp.gladman.plus.com/AES/
2008-06-12Test crypto(4) AES against test vectors from Dr. Brian GladmanDamien Miller
available at http://fp.gladman.plus.com/AES/ only keysize={128,256} and standard AES blocksize for now
2008-06-10Add a regression test for signaling permission checks. From mickey@.Hans-Joerg Hoexer
ok deraadt
2008-06-09+aesxts subdirDamien Miller
2008-06-09regress tests for crypto(4) CRYPTO_AES_XTS using test vectors fromDamien Miller
IEEE P1619-2007 standards; ok hshoexer@
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-15Repair usage of CMSG_SPACE and CMSG_LEN. While there, send three fdsHans-Joerg Hoexer
instead of just two as this decreases the propability that things just work although the sizes are wrong (ie. 8 aligns correctly on both 32 and 64 bit platforms even with wrong usage of CMSG_{LEN,SPACE} whereas 12 doesn't).
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
an extensive discussion with otto, kettenis, millert, and hshoexer
2007-12-27-s uses optarg; Elad EfratTheo de Raadt
2007-11-25spelling fixes, from Martynas Venckus;Jason McIntyre
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