Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-30 | Check that unsupported operation returns ENOSYS. | Martin Pieuchot | |
2017-04-30 | Regression tests for futex(2). | Martin Pieuchot | |
2017-04-12 | Add comment what the test does. | Alexander Bluhm | |
2017-04-12 | The pledge sigkill test is an outdated copy of sigabrt. Remove the | Alexander Bluhm | |
former and activate the latter. OK semarie@ | |||
2017-04-12 | Add comment how the test works. | Alexander Bluhm | |
2017-03-28 | Make the test also work with obj directory. | Alexander Bluhm | |
from semarie@ | |||
2017-03-28 | Link pledge sockopt regression tests to build. | Alexander Bluhm | |
2017-03-28 | Call get/setsockopt(2) with various sockets and check which options | Alexander Bluhm | |
cause aborts due to pledge(2) restrictions. | |||
2017-03-24 | correct my email address. thanks fcambus@ | Sebastian Benoit | |
2017-03-08 | warning cleanups; ok guenther | Theo de Raadt | |
2017-03-08 | don't use __syscall to emulate _exit, just call _exit | Theo de Raadt | |
2017-03-08 | fix comment block | Theo de Raadt | |
2017-02-25 | Add missing includes to avoid implicit function declarations. | Jonathan Gray | |
2017-02-22 | Enable semarie's sendrecvfd tests | Theo Buehler | |
2017-02-22 | Add regress tests for fd passing and pledge. Check sending and receiving | Theo Buehler | |
all 7 types of vnodes as follows: - nopledge: no pledge - verify that send/recv work as expected - sendfd: pledge the sender with "stdio sendfd" - recvfd: pledge the receiver with "stdio recvfd" - nosendfd: pledge the sender with "stdio" (it is expected to fail) - norecvfd: pledge the receiver with "stdio" (it is expected to fail) This results in 35 possible combinations with different semantics depending on the vnode type. From semarie, many thanks! | |||
2017-02-21 | Remove SUDO=doas in regress Makefile. The test developer must not | Alexander Bluhm | |
set the SUDO variable. The tester may decide wether he runs doas, sudo or the whole test as root. discussed with tb@ semarie@ benno@ | |||
2017-02-21 | Make test_request_tty() also pass in environments without tty by opening a | Theo Buehler | |
pseudo-tty and testing on the slave instead of stderr. nicm confirms that this approach is fine bluhm tested in his environment and the tests now pass from semarie | |||
2017-02-19 | re-enable generic pledge tests | Theo Buehler | |
2017-02-19 | Clean up regress/sys/kern/pledge/generic tests: many tests failed because | Theo Buehler | |
wlpaths is disabled in GENERIC kernels: remove or disable failing test cases. Also remove the test_mmap() function testing the prot_exec promise since it would need to be run on a wxallowed partition. from semarie | |||
2017-02-16 | Fix type of argv. Found by clang. | Patrick Wildt | |
ok bluhm@ | |||
2017-01-26 | deactivate the existing pledge regress tests, they need | Sebastian Benoit | |
some changes to work again. activate new ioctl subdirectory. | |||
2017-01-26 | add check for pledge(pf), and pledge(pf) + fd passing | Sebastian Benoit | |
2017-01-26 | enable compiler warnings and fix them. | Sebastian Benoit | |
2017-01-18 | Do not unconfigure mount points, vnd devices and NFS daemons during | Alexander Bluhm | |
"make clean". "make build" does a recursive "make cleandir" and there this behavior is undesired unexpected. reported by naddy@ | |||
2017-01-13 | Make mount points and makefiles for file system tests consistent. | Alexander Bluhm | |
Link tests to the build. | |||
2017-01-11 | Add a test that creates a nested tree of mount points. All partitions | Alexander Bluhm | |
of a vnd(4) device are mounted under /mnt. A single umount(8) of /mnt should unmount all of them. | |||
2017-01-11 | Add a test that creates a nested tree of mount points. All partitions | Alexander Bluhm | |
of a vnd(4) device are mounted under /mnt. A single umount(8) of /mnt should unmount all of them. | |||
2016-11-28 | The setuid regression test builds and runs a binary that is setuid | Alexander Bluhm | |
or setgid nobody. Since /usr/obj is 0770, user nobody cannot access other files there anymore. Install all programs into a temporary directory and run them there. Check that /tmp is mounted without nosuid. | |||
2016-10-05 | Link the setuid regress test to the build in a way that the obj | Alexander Bluhm | |
directory gets created. But do not run the test during a global make regress, as the test puts a setuid binary into the object directory. Also remove the setuid bit after the test has been run manually. OK otto@ | |||
2016-10-03 | The setuid tests needs an obj directory that allows to run programs | Alexander Bluhm | |
with set user id. Skip the test if the current filesystem has set the nosuid mount option. OK otto@ | |||
2016-09-28 | If stdout is not line buffered, messages got lost when assert() was | Alexander Bluhm | |
called. Print errors to stderr instead. | |||
2016-09-24 | On sparc64 we need "retl" not "ret" to do an immediate return. | Mark Kettenis | |
ok deraadt@, tedu@ | |||
2016-09-24 | recpect W^X, sparc64 still has a problem: non-exec mmap: execute | Otto Moerbeek | |
#1 is done, the others not. ok kettenis@ millert@ | |||
2016-09-23 | Making the regress target depends on building PROG. | Alexander Bluhm | |
2016-09-23 | Zap mquery test for good | Otto Moerbeek | |
2016-09-23 | Zap. Has been disabled for a long time and makes unholy assumptions about | Otto Moerbeek | |
the address pace layout. ok bluhhm@ | |||
2016-09-21 | Use /dev/console as a template for the pseudo tty, stdin may be not | Alexander Bluhm | |
a terminal. Check wether tcgetattr() can read the values. Do not only verify that kqueue does not report unwanted events but also that expected events exist. | |||
2016-09-20 | To make debugging the kqueue test easier, always print the assertion | Alexander Bluhm | |
failure before returning. | |||
2016-09-04 | When passing the (1ULL << 32) to EV_SET, it gets casted to __uintptr_t. | Alexander Bluhm | |
On 32 bit architectues, the high bit is lost and the test fails. Create an invalid pid in the lower 32 bits. OK guenther@ | |||
2016-09-01 | remove references to sparc (and even a vax ref that escaped notice) | Ted Unangst | |
2016-08-29 | Make socket splicing performance test pass in multiple environments. | Alexander Bluhm | |
When running the setup over two machines, build required binaries on remote machine. Avoid localhost nameserver lookup, just use 127.0.0.1. Use greater timeout. | |||
2016-08-27 | Pull in <sys/time.h> for struct timeval | Philip Guenther | |
<sys/*.h> includes go before <*.h> includes ok deraadt@ | |||
2016-08-25 | Fix sosplice tests on 32 bit systems by putting the correct number | Alexander Bluhm | |
of bytes into the time_t Perl pack template. Also fix error messages. | |||
2016-08-19 | Add support for arm and enable on armv7. | Mark Kettenis | |
2016-07-14 | Prevent silly states via knotes on pids > 2^32 and on nonexistent signals. | Philip Guenther | |
ok tedu@ | |||
2016-06-13 | Test that splicing loops are aborted with ELOOP. | Alexander Bluhm | |
2016-05-03 | Fix some Perl statements perlcritic was bitching about: Variable | Alexander Bluhm | |
declared in conditional statement. | |||
2016-04-27 | unbreak pledge/generic test (breaked since ?) | Sebastien Marie | |
it still requires a pledge(2) with wlpath enable. | |||
2016-04-25 | remove systrace | Ted Unangst | |
2016-03-17 | Last parameter to execl[e]() functions *must* be cast to a pointer. | Kenneth R Westerback | |
Just NULL is not good practise as NULL is theoretically allowed to be an integer rather than a pointer. Use (char *)NULL consistently instead of scattering a few (char *)0 and (void *)NULL into the mix. Prompted by and probably ok deraadt@ millert@ kettenis@ Definitely ok mestre@ ratchov@ |