summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern (follow)
Commit message (Collapse)AuthorAgeFilesLines
* These regress tests expect coredumps to be written so run them withclaudio2021-02-092-2/+2
| | | | | ulimit -c unlimited. Also simplify the logic a bit as requested by bluhm@. OK bluhm@ deraadt@
* These regress test expect coredumps as an effect of the test so runclaudio2021-02-092-4/+4
| | | | | the tests with ulimit -c unlimited to make sure coredumps are written. OK bluhm@ deraadt@
* Pledge violation for SO_RTABLE prints "wroute" now. Adapt test.bluhm2021-01-211-5/+4
|
* Test that local UDP broadcast packets to 255.255.255.255 are handledbluhm2021-01-092-4/+110
| | | | correctly by socket splicing. They generate an ELOOP error.
* Increase file descriptor limit to allow long chains of splicedbluhm2021-01-031-1/+2
| | | | sockets in one test process.
* Create chains and loops of spliced tcp and udp sockets. Send databluhm2021-01-025-2/+259
| | | | through them and check that MAXLOOP is triggered in kernel.
* py3-scapy is now scapykn2020-12-301-3/+3
| | | | OK bluhm sthen
* Ensure that a sufficient part of the remote log file has beenbluhm2020-12-271-1/+3
| | | | | transferred before the local side greps for the spliced keyword. Fixes a race seen on the arm64 regress machine.
* Missed a python2.7, scapy 2, copyright bump in previous scapy 3 commits.bluhm2020-12-261-2/+2
|
* Switch to scapy with python 3.bluhm2020-12-2510-174/+176
|
* Fix regress target name, they must be unique.bluhm2020-12-171-2/+2
|
* Remove echo headlines.bluhm2020-12-1710-117/+10
|
* Remove echo headlines. Makefile cleanup.bluhm2020-12-161-11/+2
|
* Remove echo headlines. Use consistent target names.bluhm2020-12-162-14/+10
|
* Make test actually fail if something is broken.bluhm2020-12-161-33/+26
| | | | Remove echo headlines. Use consistent target names.
* Link all regress/sys/kern/ subdirs to build and sort alphabetically.bluhm2020-11-101-29/+17
|
* Fix building the library when invoked with make regress.bluhm2020-10-211-1/+3
| | | | OK patrick@
* Add arm64 support.kettenis2020-10-202-4/+6
| | | | ok deraadt@
* Implement propper handling for make clean and obj.bluhm2020-10-165-23/+29
|
* Remove tests that are now under signal/mpi2020-09-1623-2280/+0
|
* Move sigsuspend test.mpi2020-09-162-0/+134
|
* Unhooked signal tests that just moved.mpi2020-09-161-3/+2
|
* Put all signal tests under a single directory.mpi2020-09-1622-1/+2155
| | | | | | This allows to run them all with a single command. Discussed with bluhm@
* print the address of the "non-MAP_STACK stack", so it can be comparedderaadt2020-07-262-1/+2
| | | | | against failure reported in dmesg (hmm, is it time to delete those fault messages?)
* Add stackpivot asm for ppc and ppc64 regress test.mortimer2020-07-252-6/+9
| | | | | Also tweak the pagefault test to work better on arches that do not modify the stack pointer on return.
* With "%lx" new awk(1) prints 64 bit value also on 32 bit platforms.bluhm2020-07-251-8/+10
| | | | | Replace it with Perl pack() to get hex representation of -1 on current platform. Make test pass again on i386.
* Improve MACHINE/MACHINE_ARCH access to actually testing architecturesderaadt2020-07-201-2/+5
|
* test _exit(2) rather than exit(3) [to keep things simpler], andderaadt2020-07-201-1/+3
| | | | print the stack address [for comparison in dmesg post-fault]
* Make this build on powerpc/powerpc64. Only test on powerpc64 for nowkettenis2020-07-062-2/+9
| | | | | since this is expected to fail on most 32-bit PowerPC CPUs given the lack of a proper permission bit.
* add a test covering the by now fixed regression during pipe closeanton2020-06-294-5/+116
|
* Add test that splicing inet and unix sockets. This test should be abortedmvs2020-06-181-0/+24
| | | | | | with EPROTONOSUPPORT. ok mpi@
* The unmount-nested test creates 15 partitions with file systems.bluhm2020-05-251-17/+17
| | | | Use FFS1 for newfs as the file system size is below the FFS2 minimum.
* Do not create /hooray as part of the regress test. Regress testsclaudio2020-04-071-2/+1
| | | | | should not create random files in the root partition. OK beck@
* For open with O_CREAT pass a mask of 0644 with else files are createdclaudio2020-04-071-37/+37
| | | | | with somewhat random filemodes. OK beck@
* Don't #include <machine/cpufunc.h>, not available on all archsjca2020-04-031-2/+1
| | | | | Thankfully it doesn't appear needed on amd64 and sparc64, and probably others. ok mpi@
* Add ulimit -c unlimited to the commands that plan to produce a coredump.claudio2020-04-013-6/+7
| | | | | This way the regress tests work also in the case where the invoking shell has ulimit -c 0.
* Enable tests now that the original parent see the exit status after thempi2020-03-161-1/+211
| | | | debugger.
* output the name of each targetanton2020-03-111-1/+3
|
* Add a regression test for kqueue recursion. Also check that select(2)visa2020-03-082-2/+141
| | | | and poll(2) work with kqueue.
* Accidently some tests were never running. Make regress target namesbluhm2020-03-021-9/+9
| | | | | unique. reported by Christian Ehrhardt
* Enable ptrace2mpi2020-02-281-2/+2
|
* Import ptrace(2) regression tests from FreeBSD.mpi2020-02-285-0/+585
| | | | | | | Only the first two tests are currently passing and enabled. The second one already exposes the recently fixed bug with double wait(2) report. More tests will be enabled as they get fixed.
* delete wasteful ;;deraadt2020-01-221-2/+2
| | | | ok tedu
* Do not create files as dependency of .BEGIN rule. Noticed bybluhm2020-01-151-2/+2
| | | | deraadt@ with make obj in regress.
* Rework when tests have to be skipped due to insufficient configurationbluhm2020-01-081-18/+29
| | | | of the regress machine.
* simplify assertionsanton2019-12-241-17/+5
|
* add pipe kqueue testsanton2019-12-244-3/+319
|
* rename binaries to differentiate failure cases (in dmesg output) betweenderaadt2019-12-024-6/+6
| | | | | | the two cases "syscall in main program" (will succeed until we fix go) and "syscall in library" (now properly fails) ok mortimer
* Add regress tests for making syscalls from the main program text and frommortimer2019-11-279-0/+97
| | | | | | a shared library. ok deraadt
* increase pipe size in order to exercise big pipe allocationsanton2019-11-142-8/+9
|