summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2011-11-26If sigaltstack() fails, report which thread correctlyPhilip Guenthe
Pointed out by Steffen Daode Nurpmeso (sdaoden at googlemail.com)
2011-11-22Add a test for forked processes inheriting their parent's signal stack.Joshua Elsasser
ok guenther@
2011-11-06Regress tests for negative offsets, wrapping offsets, and the lack ofPhilip Guenthe
interaction of pwrite/pwritev with O_APPEND. Based on a patch from Alexander Polakov (polachok at gmail.com) Further tests with deraadt@
2011-11-05Verify this fails with ESPIPE on ttysPhilip Guenthe
2011-10-07Test hint-based mmap allocations.Ariane van der Steldt
A hint-based allocation may only fail if no memory is available near the allocation. The value of near is chosen to be 2GB in this scenario.
2011-10-07mmap with len=0 should fail with EINVAL.Ariane van der Steldt
- posix says so - the current allocator doesn't like it
2011-09-21Add tests for pf fragment reassembly with all kinds of overlapping.Alexander Bluhm
Some fragments contain invalid data, this must be replaced to reassemble a valid packet.
2011-09-19Add a test suite to route ip fragments through a box running pf.Alexander Bluhm
You have to setup four machines manually as described in the makefile. The test uses scapy and python to send ping echo request or udp echo packets along the routers. It analyzes the returned ping echo reply or udp packets or the icmp error packets.
2011-08-29Test that reverse splicing timeout does not affect forward splicing.Alexander Bluhm
2011-08-28Minor cleanup.Alexander Bluhm
2011-08-28Allow splice make regress to run with and without obj directory.Alexander Bluhm
2011-08-21Add one more regression test for socket splicing with idle timeout.Alexander Bluhm
2011-07-23TCP out-of-band data is not reliable. Allow socket splicingAlexander Bluhm
regression tests to tolerate missing urgent bytes.
2011-07-07Add tests for kqueue EVFILT_SIGNAL and that they can't be passed overPhilip Guenthe
sockets
2011-07-07braces rock!Philip Guenthe
2011-07-07Suppress known failuresPhilip Guenthe
2011-07-06Add a regression test for file descriptor passing with UNIX sockets.Matthew Dempsky
ok claudio@
2011-07-06Test handling of non-NUL terminated sun_path values as well as garbagePhilip Guenthe
in the end of the sockaddr_un. Done with claudio@
2011-07-06Switch to a device that isn't deprecated and return more info onPhilip Guenthe
read failure
2011-07-06Add regress for errno returns of failed fchdir()sPhilip Guenthe
2011-07-05Hook unixsock upClaudio Jeker
2011-07-05Regress test for the path length of unix sockets.Claudio Jeker
2011-07-05plug in mmap_write_selfArtur Grabowski
2011-07-05Test for when we're writing to a file from an mmaped area of the file.Artur Grabowski
2011-07-04Add new socket splicing tests for the idle timeout feature. NoteAlexander Bluhm
that you need p5-BSD-Socket-Splice version 0.03 to run the regression tests.
2011-04-22Make the socket splicing regression tests architecture independentAlexander Bluhm
by using the perl module BSD::Socket::Splice from ports. Tested on i386 and sparc64.
2011-04-18Deprecate vnds in favour of svnds.Thordur I. Bjornsson
In effect, this removes the "old" vndX nodes, and renames the svndX nodes to vndX. Old svndX nodes will still continue to work though, for now. Cleanup accordingly. ok deraadt@, todd@ comments and ok on the man page bits from jmc@
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
that we've got name we want for the API we want "ZAP!" deraadt@
2011-04-04provide fake copies of explicit_bzero in the test scaffolds for kernel codeTheo de Raadt
2011-03-13Make regression tests more reliable.Alexander Bluhm
2011-03-13Test that reading from a spliced socket does not return eof if thereAlexander Bluhm
is still data in the receive socket buffer.
2011-03-12Add more regression tests for socket splicing. These find theAlexander Bluhm
kernel bugs that have slipped through.
2011-03-08Add regression test that checks ENOTSOCK error for non-socket drain.Alexander Bluhm
2011-02-14Make tests more reliable by handling short socket splice correctly.Alexander Bluhm
2011-01-11Fix compiler warning in regression test.Alexander Bluhm
2011-01-07Add kernel regression tests for socket splicing.Alexander Bluhm
2011-01-07do not rely on rndvar.h leaking shit into the namespaceTheo de Raadt
2010-10-15libdes -> libcryptoJonathan Gray
2010-09-22Test vectors for GMAC as published in the original GCM proposalMike Belopuhov
to NIST (gcm-spec.pdf) and draft-mcgrew-gcm-test-01.txt.
2010-08-07Link against libkern's timingsafe_bcmp.c, so key_wrap regress testsMatthew Dempsky
can compile again. ok phessler@, "Get it in right away" deraadt@
2010-08-04Add the new kqueue+rfork test, but disable the tests that use RFMEMPhilip Guenthe
as they don't work right now
2010-08-04Regression test for the recent rfork+kqueue fixPhilip Guenthe
2010-08-04tun* interfaces are now automatically destroyed on last close whenPhilip Guenthe
originally created by opening /dev/tun*
2010-08-04Confirm that a NOTE_EXIT knote is delivered when the child exitsPhilip Guenthe
Fix a C thinko
2010-07-22Replace strncat() with strlcat().Marcus Glocker
2010-07-22Change include ordering.Marcus Glocker
2010-07-22Initial regression test program for video(4).Marcus Glocker
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