summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2020-03-16Enable tests now that the original parent see the exit status after theMartin Pieuchot
debugger.
2020-03-12Add a regression test for vnd(4).Visa Hankala
2020-03-11output the name of each targetanton
2020-03-08Add a regression test for kqueue recursion. Also check that select(2)Visa Hankala
and poll(2) work with kqueue.
2020-03-02Accidently some tests were never running. Make regress target namesAlexander Bluhm
unique. reported by Christian Ehrhardt
2019-08-05Call realpath(3) in combination with chroot(2) and chdir(2).Alexander Bluhm
Use umount(8) to check that the mountpoint leaks no vnode. from Moritz Buhl
2020-02-28Enable ptrace2Martin Pieuchot
2020-02-28Import ptrace(2) regression tests from FreeBSD.Martin Pieuchot
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.
2020-02-02Since OpenBSD has switched to the strict host model, this regressAlexander Bluhm
needs IP forwarding enabled on the packet source machine. Otherwise the pf reply-to test fails.
2020-01-22delete wasteful ;;Theo de Raadt
ok tedu
2020-01-15Do not create files as dependency of .BEGIN rule. Noticed byAlexander Bluhm
deraadt@ with make obj in regress.
2020-01-08Rework when tests have to be skipped due to insufficient configurationAlexander Bluhm
of the regress machine.
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andVisa Hankala
FIOGETOWN/SIOCGPGRP/TIOCGPGRP. Do this by determining the meaning of the ID parameter inside the sigio code. Also add cases for FIOSETOWN and FIOGETOWN where there have been TIOCSPGRP and TIOCGPGRP before. These changes allow removing the ID translation from sys_fcntl() and sys_ioctl(). Idea from NetBSD OK mpi@, claudio@
2019-12-24simplify assertionsanton
2019-12-24add pipe kqueue testsanton
2019-12-20The IPsec policy check for IPComp bundles has been fixed in theAlexander Bluhm
kernel. So we can make the test config stricter. Change the type of ipcomp bundle flows from use to dontacq.
2019-12-02rename binaries to differentiate failure cases (in dmesg output) betweenTheo de Raadt
the two cases "syscall in main program" (will succeed until we fix go) and "syscall in library" (now properly fails) ok mortimer
2019-11-27Add regress tests for making syscalls from the main program text and frommortimer
a shared library. ok deraadt
2019-11-14increase pipe size in order to exercise big pipe allocationsanton
2019-11-10minor style nitanton
2019-11-09+pipeanton
2019-11-09add pipe regress test suiteanton
2019-09-20Improve handling of nosuid mount option, temporary directory andAlexander Bluhm
super user permissions.
2019-09-20Fix compiler warning and whitespace.Alexander Bluhm
2019-09-20Run regress wx_syscall if /usr/obj is mounted wxallowed.Alexander Bluhm
Otherwise skip the test.
2019-09-20Regress mmap_hint usually passes, enable it.Alexander Bluhm
2019-09-19Make checksum comparison more robust. 0xffff is the same as 0.Alexander Bluhm
2019-09-17Send ping6 fragment that ends behind ipv6 max packet size.Alexander Bluhm
2019-09-11Fix unveil for relative lookups in the non AT_FDCWD caseBob Beck
Issue spotted by Benjamin Baier <programmer@netzbasis.de> with relative path lookups from openat(2). Lacking a current working directory unveil, operations using the *at functions could fail when not crossing an unveil, since an initial covering unveil was not found. This corrects this so we walk up from the directory vnode to find a covering unveil at the start of non AT_FDCWD lookups, and adds regress for this case. ok bluhm@
2019-09-11Make it possible to free overlapping regions (effectively allowingMark Kettenis
freeing parts of regions that are already free) when the EX_CONFLICTOK flag is passed to extent_free. ok jmatthew@
2019-09-08Pull out and expand openat tests into their own routine.Bob Beck
2019-09-05Ignore missing pseudo terminal for ssh when called from cron job.Alexander Bluhm
2019-09-05Name environment variables consistently.Alexander Bluhm
2019-09-05Minimize differences between IPv4 and IPv6 multicast tests.Alexander Bluhm
2019-09-05Link IPv6 multicast tests to regress build.Alexander Bluhm
2019-09-05Test IPv6 multicast sender, receiver, router. Minimal mc6routeAlexander 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.
2019-09-02Test multicast sender, receiver, router. Minimal mcroute implmentationAlexander Bluhm
does not care about IGMP, it simply adds static multicast routes. Mutlicast routing needs at least two test machines. Otherwise only send and receive on localhost is tested.
2019-09-03Create remote log files in obj directory.Alexander Bluhm
2019-09-02Test multicast sender, receiver, router. Minimal mcroute implmentationAlexander Bluhm
does not care about IGMP, it simply adds static multicast routes. Mutlicast routing needs at least two test machines. Otherwise only send and receive on localhost is tested.
2019-09-02Link multicast tests to regress build.Alexander Bluhm
2019-09-02Test multicast sender, receiver, router. Minimal mcroute implmentationAlexander Bluhm
does not care about IGMP, it simply adds static multicast routes. Mutlicast routing needs at least two test machines. Otherwise only send and receive on localhost is tested.
2019-08-06Use SUDO to run test as root.Alexander Bluhm
2019-08-06Test more variants to specify the root directory.Alexander Bluhm
2019-08-05Test realpath and unveil if the root directory is written as "//".Alexander Bluhm
2019-08-05Link regress realpath-unmount to build.Alexander Bluhm
2019-08-05Call realpath(3) in combination with chroot(2) and chdir(2).Alexander Bluhm
Use umount(8) to check that the mountpoint leaks no vnode. from Moritz Buhl
2019-08-04Add arm64 asm for stackpivot regress test.mortimer
2019-08-04Test that unmount works after calling unlink(2) with relativeAlexander Bluhm
directories obtained by chdir(2).
2019-08-01Call unveil(2) in combination with unlink(2) and chroot(2).Alexander Bluhm
Use umount(8) to check that the mountpoint leaks no vnode.
2019-08-01Link regress unveil-unmount to build.Alexander Bluhm