Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-22 | knf nits | Anton Lindqvist | |
2021-10-22 | add pipe select hangup test case; ok mpi@ | Anton Lindqvist | |
2021-10-13 | Sending live tcpdump output over SSH while running tests may drop | Alexander Bluhm | |
bpf logs in the kernel. Better write pcap files onto remote machine's disk and collect and convert after testing with live packets has finished. Move the TCP path MTU tests to the end. Otherwise TCP packets floating around could affect the packet counters of the subsequent tests. | |||
2021-10-06 | This regress uses vnd devices to create a softraid volume. Raid levels | Alexander Bluhm | |
RAID 0, RAID 1, RAID 5, CRYPTO, CONCAT, RAID 1 + CRYPTO are created. The volume disk is then mounted and stressed a little bit. | |||
2021-10-05 | add missing sudo | Anton Lindqvist | |
2021-10-05 | add missing sudo | Anton Lindqvist | |
2021-10-05 | build prog once | Anton Lindqvist | |
2021-10-03 | Extend filesystem tests to test mfs and tmpfs. Hook up mfs but leave tmpfs | Claudio Jeker | |
out for now since it is not enabled by default. mfs reports the same errors as ffs (no real surprise), tmpfs has a few different errors. OK bluhm@ | |||
2021-10-02 | quote sudo | Anton Lindqvist | |
2021-10-02 | add missing sudo | Anton Lindqvist | |
2021-09-30 | Quote SUDO value during propagation, allowing `doas -n' to be correctly | Anton Lindqvist | |
honored which I use while running regress. The same principle is already applied to the PYTHON variable here. | |||
2021-09-28 | Turns out that older SPARC CPUs (like the UltraSPARC II) do report an exact | Mark Kettenis | |
fault address, while others (like the UltraSPARC T2) report an inexact address. Deal with this by using the EXPADDR_MASK on both the expected and the reported fault address. ok bluhm@ | |||
2021-09-28 | Use -Wl,-z,wxneeded instead of -z wxneeded such that this builds with base | Mark Kettenis | |
gcc. ok patrick@, millert@, jca@ | |||
2021-09-28 | add missing sudo | Anton Lindqvist | |
2021-09-27 | Return 0 from main() otherwise the exit code is garbage on sparc64. | Alexander Bluhm | |
Collect status of the child process to detect test failures. OK tb@ | |||
2021-09-20 | Use proper sigsuspend() instead of old pause() and use sigprocmask() to | Claudio Jeker | |
block delivery of signals outside of sigsuspend(). With this the test is more reliable. pause() is implemented as two syscalls and so it is possible to catch a signal on the first syscall and than be stuck on the second waiting for something that already happened. OK millert@ deraadt@ bluhm@ | |||
2021-08-30 | Test for the pathetic case that the 2nd unveil in | Claudio Jeker | |
unveil(NULL, NULL); if (fork() == 0) unveil("/", "rwx") fails with EPERM. | |||
2021-08-30 | Check that fchdir() works. The problem in unveil was fixed some time ago. | Claudio Jeker | |
2021-08-30 | Make lines not wrap on 80 char terminals. Code gets more readable. | Claudio Jeker | |
2021-07-14 | Shrink cluster size for FAT32 to fullfil the new minimum cluster | Alexander Bluhm | |
limit of newfs_msdos for our small 64 MB vnd disk image. suggested by jsg@ | |||
2021-07-10 | Pass expected result first when diff(1)ing for result. | Martin Pieuchot | |
2021-07-06 | This regress checks that 400 singals are evenly distributed over 4 | Alexander Bluhm | |
threads. It works well on idle 4 CPU machines, but with load or fewer cores the distribution of the threads' signal handlers is worse. Reduce the limit of signals that each thread must receive from 75 to 50. This should prevent random test fails. from Christian Ludwig | |||
2021-07-06 | alarm(3) cannot fail, remove error handling. | Alexander Bluhm | |
suggested by millert@ | |||
2021-07-06 | Fix typo in comment. | Alexander Bluhm | |
2019-09-05 | Test IPv6 multicast sender, receiver, router. Minimal mc6route | Alexander Bluhm | |
implmentation does not care about ICMPv6, it simply adds static multicast routes. Multicast routing needs at least two test machines. Otherwise only send and receive on localhost is tested. Currently receiving link-local packets via loopback does not work due to wrong scope id. Everything is mostly copied from IPv4 regress. | |||
2021-07-05 | Write ktrace output files onto NFS mounted file systems. | Alexander Bluhm | |
2021-06-20 | use __riscv instead of __riscv64 | Theo de Raadt | |
2021-06-12 | Exercise resetting of expired and unexpired timers. | Visa Hankala | |
2021-06-11 | Adjust futex regress test since futex(2) now returns -1 on error and sets | Mark Kettenis | |
errno like any normal syscall. ok mpi@, bluhm@ | |||
2021-06-01 | Introduce the new test which enforces unp_gc() run and close | mvs | |
unreferenced descriptors. ok bluhm@ | |||
2021-05-27 | Introduce the new test which enforces unp_internalize() to follow error | mvs | |
path and FRELE(9) descriptors. ok @bluhm | |||
2021-05-22 | Test more corner cases of IPv4 fragment reassembly. | Alexander Bluhm | |
2021-05-22 | On powerpc64 calling a function needs 64 bytes of stack overhead | Alexander Bluhm | |
per recursion. On amd64 it is only 32. Allocate more stack per thread and the stack tests pass everywhere | |||
2021-05-21 | Fix the calculation of the maximum stack size in the command line | Alexander Bluhm | |
option -s. | |||
2021-05-21 | Set the stack size attribute of the pthreads large enough to allocate | Alexander Bluhm | |
the specified amount of stack memory. On 32 bit architectures regress fork-exit failed as the default stack size for pthreads is smaller. With the limit set to the expected size we can test even larger thread stacks. | |||
2021-05-17 | add riscv support | Theo de Raadt | |
2021-05-17 | Link fenv.S test program statically to avoid calling the dynamic | Alexander Bluhm | |
linker. | |||
2021-05-17 | Skip sosplice loop test if Perl packages are not installed. | Alexander Bluhm | |
2021-05-16 | add riscv asm for these two security-feature checking regress tests | Theo de Raadt | |
with drahn | |||
2021-05-08 | Fix a race in the kqueue-read test. If the writer thread managed to fill | anton | |
up the pipe buffer, it will hang in write(2) waiting for the pipe to become writeable again. While doing so, it cannot observe that the kqueue thread as already finished implying that ctx_thread_alive() would return false, meaning no further writes are wanted. Therefore open the pipe in non blocking mode and just ignore EAGAIN errors while writing. | |||
2021-05-07 | Dynamic socket buffers make tests unreliable, set fixed buffer size. | Alexander Bluhm | |
2021-05-04 | Create memory pressure in test. Allocate heap and stack in child | Alexander Bluhm | |
processes and threads. Then exit has more work to do. | |||
2021-04-29 | Extend the fork and exit test with threads. Simultaneously kill | Alexander Bluhm | |
30 processes with 30 threads each. | |||
2021-04-28 | To hunt kernel bugs during exit, terminate processes simultaneously. | Alexander Bluhm | |
Fork 300 children that sleep. Kill them together as process group. Sleeping can optionally be done with individual memory layout by executing sleep(1). | |||
2021-04-21 | Check that path MTU discovery across routing domains inserts a | Alexander Bluhm | |
dynamic IPv4 route. Add IPv6 test that runs tcpbench over pair interfaces in different routing domains. For that setup, PMTU currently does not work. IPv6 TCP packets get fragmented. | |||
2021-04-14 | Unify pivot.h; brings powerpc/powerpc64 support to the usr.bin/lastcomm | Mark Kettenis | |
regress test. ok bluhm@ | |||
2021-04-13 | Unbreak rtable regress test. Define _KERNEL in some crucial spots so that | Claudio Jeker | |
the include guard in rtsock.h is bypassed and critical defines like rtentry show up. Also remove the old RADIX bits, rtable code is art only for a while. | |||
2021-02-09 | These regress tests expect coredumps to be written so run them with | Claudio Jeker | |
ulimit -c unlimited. Also simplify the logic a bit as requested by bluhm@. OK bluhm@ deraadt@ | |||
2021-02-09 | These regress test expect coredumps as an effect of the test so run | Claudio Jeker | |
the tests with ulimit -c unlimited to make sure coredumps are written. OK bluhm@ deraadt@ | |||
2021-02-05 | Setup two pair(4) and one lo(4) interface in different routing | Alexander Bluhm | |
domains and with different interface MTU. Test that packet flow and TCP path MTU discovery works. |