Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Misc fixes from projects/bmake | sjg | 2015-06-11 | 1 | -1/+1 | |
| | | | | | Differential Revision: D2748 Reviewed by: brooks imp | |||||
* | Add a CHILD_REQUIRE macro similar to ATF_REQUIRE for use in child processes | jhb | 2015-06-04 | 1 | -25/+47 | |
| | | | | | | | of the main test process. Differential Revision: https://reviews.freebsd.org/D2664 Reviewed by: ngie (previous version) | |||||
* | Append to SUBDIR, not set it | ngie | 2015-05-31 | 1 | -2/+2 | |
| | | | | Pointyhat to: ngie | |||||
* | Consistently only use one end of the pipe in the parent and debugger | jhb | 2015-05-31 | 1 | -3/+5 | |
| | | | | | | | | processes and do not rely on EOF due to a close() in the debugger. PR: 200489 Differential Revision: https://reviews.freebsd.org/D2674 Reviewed by: kib, ngie, rodrigc | |||||
* | Tweak the description of when waitpid() doesn't return any status for a | jhb | 2015-05-28 | 1 | -6/+6 | |
| | | | | | | non-blocking wait to avoid the word "empty". Requested by: ngie | |||||
* | Do not allow a process to reap an orphan (a child currently being | jhb | 2015-05-26 | 1 | -0/+246 | |
| | | | | | | | | | | | | | | | | | traced by another process such as a debugger). The parent process does need to check for matching orphan pids to avoid returning ECHILD if an orphan has exited, but it should not return the exited status for the child until after the debugger has detached from the orphan process either explicitly or implicitly via wait(). Add two tests for for this case: one where the debugger is the direct child (thus the parent has a non-empty children list) and one where the debugger is not a direct child (so the only "child" of the parent is the orphan). Differential Revision: https://reviews.freebsd.org/D2644 Reviewed by: kib MFC after: 2 weeks | |||||
* | Only reparent a traced process to its old parent if the tracing process is | jhb | 2015-05-22 | 2 | -0/+144 | |
| | | | | | | | | | | | | not the old parent. Otherwise, proc_reap() will leave the zombie in place resulting in the process' status being returned twice to its parent. Add test cases for PT_TRACE_ME and PT_ATTACH which are fixed by this change. Differential Revision: https://reviews.freebsd.org/D2594 Reviewed by: kib MFC after: 2 weeks | |||||
* | Move all test integration pieces for etc/ from etc/ to tests/ | ngie | 2015-05-18 | 4 | -0/+158 | |
| | | | | | | | | | | | This is being done to fix breakage with make distribution with read-only source trees as make distribution doesn't use make obj like building tests/ does in all cases Reported by: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> Suggested by: jhb X-MFC with: r282059 MFC after: 1 week | |||||
* | Fix typo. It should have been atf_tc_skip, not atf_skip | ngie | 2015-04-29 | 1 | -1/+1 | |
| | | | | | | Reported by: many, Jenkins Pointyhat to: ngie MFC after: 4 days | |||||
* | ATF_REQUIRE_KERNEL_MODULE: use atf_skip, not ATF_REQUIRE_MSG so the testcase | ngie | 2015-04-29 | 1 | -7/+10 | |
| | | | | | | | | no longer bombs out PLAIN_REQUIRE_KERNEL_MODULE: use printf + _exit, no err so the testcase no longer bombs out if it prints to stderr MFC after: 5 days | |||||
* | Adjust CFLAGS to find freebsd_test_suite/macros.h | ngie | 2015-04-28 | 1 | -0/+2 | |
| | | | | MFC after: 6 days | |||||
* | Use PLAIN_REQUIRE_KERNEL_MODULE to require "mqueuefs" | ngie | 2015-04-28 | 6 | -0/+22 | |
| | | | | MFC after: 6 days | |||||
* | - Use ATF_REQUIRE_KERNEL_MDOULE to require aio(4) | ngie | 2015-04-28 | 2 | -25/+33 | |
| | | | | | | | | - Don't use /tmp as a basis for temporary files as it's outside of the ATF sandbox - Don't override MAX macro in sys/param.h MFC after: 6 days | |||||
* | Use ATF_REQUIRE_KERNEL_MODULE instead of aio_available function | ngie | 2015-04-28 | 1 | -17/+10 | |
| | | | | MFC after: 6 days | |||||
* | Add initial (unpolished) macros for interfacing with the FreeBSD test suite | ngie | 2015-04-28 | 1 | -0/+53 | |
| | | | | | | | This is very rough, but will be replaced/redesigned some time soon after I fix the Jenkins breakage I introduced MFC after: 6 days | |||||
* | Fill in the copyright boilerplate for the test program | ngie | 2015-04-28 | 1 | -0/+27 | |
| | | | | MFC after: 6 days | |||||
* | Move tests/sys/kern/mmap_test to tests/sys/vm/mmap_test | ngie | 2015-04-27 | 4 | -1/+8 | |
| | | | | | | | | | As jhb noted, the actual mmap(2) implementation is under sys/vm, not sys/kern/, so the correct logical place is tests/sys/vm/, not tests/sys/kern/ X-MFC with: r282076 MFC after: 6 days | |||||
* | Integrate tools/regression/mmap into the FreeBSD test suite as | ngie | 2015-04-27 | 2 | -0/+106 | |
| | | | | | | tests/sys/kern/mmap_test MFC after: 1 week | |||||
*-. | Integrate tools/regression/aio/aiotest and tools/regression/aio/kqueue into the | ngie | 2015-04-27 | 5 | -0/+1132 | |
|\ \ | | | | | | | | | | | | | | | | FreeBSD test suite as tests/sys/aio MFC after: 1 week | |||||
| | * | Integrate tests/sys/aio/kqueue into tests/sys/aio | ngie | 2015-04-16 | 3 | -0/+454 | |
| |/ | ||||||
| * | Integrate tools/regression/aio/aiotest into the FreeBSD test suite as ↵ | ngie | 2015-04-16 | 3 | -0/+678 | |
| | | | | | | | | tests/sys/aio | |||||
| * | Update comments | ngie | 2015-04-16 | 1 | -8/+4 | |
| | | | | | | | | | | | | Don't install/test unix_cmsg because it's broken [1] PR: 199478 | |||||
| * | Set WARNS to 6, but turn off -Wcast-align; this is an issue with unix_cmsg and | ngie | 2015-04-16 | 1 | -6/+3 | |
| | | | | | | | | unix_passfd_test | |||||
| * | Fix WARNS=6 issues with gcc | ngie | 2015-04-16 | 5 | -7/+8 | |
| | | ||||||
| * | Don't use /tmp for temporary files; this violates ATF/kyuas sandbox | ngie | 2015-04-16 | 2 | -2/+2 | |
| | | ||||||
| * | Rename unix_sendtorace_test to unix_sendto_race_test | ngie | 2015-04-16 | 2 | -1/+1 | |
| | | ||||||
| * | Convert accf_data_attach_test over to ATF and mark all steps after step 8 in | ngie | 2015-04-16 | 2 | -74/+42 | |
| | | | | | | | | | | the sourcecode broken (it fails on my system at least; more investigation needed) | |||||
| * | - Convert zerosend_test to an ATF format testcase | ngie | 2015-04-15 | 2 | -121/+173 | |
| | | | | | | | | | | | | - bind to random ports - Close the server port so the TCP testcases won't terminate prematurely because bind(2) failed | |||||
| * | Convert unix_passfd_test to ATF | ngie | 2015-04-15 | 2 | -194/+199 | |
| | | | | | | | | Mark test 8 as an expected failure so it no longer counts as an unexpected one | |||||
| * | Pick a random port if a specific one isn't provided on the command line | ngie | 2015-04-14 | 1 | -5/+11 | |
| | | ||||||
| * | Test for EPROTOTYPE, not EPROTONOSUPPORT | ngie | 2015-04-14 | 2 | -5/+5 | |
| | | ||||||
| * | Use socket, not sockets/ (XXX: reminder to add a sanity check for this later...) | ngie | 2015-04-14 | 28 | -1/+1 | |
| | | ||||||
| * | Fix WARNS= 6 by removing garbage collecting unused argc/argv | ngie | 2015-04-13 | 1 | -1/+1 | |
| | | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Integrate tools/regression/mqueue into the FreeBSD test suite as | ngie | 2015-04-27 | 8 | -0/+577 | |
|\ \ \ | | |/ | | | | | | | | | | | | | tests/sys/mqueue MFC after: 1 week | |||||
| | * | Add mqueue_test.sh | ngie | 2015-04-13 | 1 | -0/+54 | |
| | | | ||||||
| | | | ||||||
| \ \ | ||||||
| \ \ | ||||||
| \ \ | ||||||
*---. \ \ | Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo | ngie | 2015-04-27 | 14 | -0/+5256 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and tools/regression/file into the FreeBSD test suite as tests/sys/file MFC after: 1 week | |||||
* \ \ \ \ \ | Integrate tools/regression/kqueue into the FreeBSD test suite as | ngie | 2015-04-27 | 12 | -0/+1770 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests/sys/kqueue MFC after: 1 week | |||||
| \ \ \ \ \ \ | ||||||
| \ \ \ \ \ \ | ||||||
*-. \ \ \ \ \ \ | Integrate tools/regression/execve into the FreeBSD test suite as | ngie | 2015-04-27 | 11 | -0/+279 | |
|\ \ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests/sys/kern/execve MFC after: 1 week | |||||
| | * | | | | | | Install the proper files | ngie | 2015-04-13 | 3 | -0/+0 | |
| | | |_|/ / / | | |/| | | | | ||||||
| | * | | | | | Add missing Makefiles for fifo and file | ngie | 2015-04-13 | 2 | -0/+38 | |
| | | | | | | | ||||||
| | * | | | | | Add $FreeBSD$ RCS tag | ngie | 2015-04-12 | 1 | -0/+2 | |
| |/ / / / / | ||||||
| * | | | | | Integrate tools/regression/execve into the FreeBSD test suite as ↵ | ngie | 2015-04-12 | 11 | -0/+277 | |
| | |/ / / | |/| | | | | | | | | | | | | | tests/sys/kern/execve | |||||
| * | | | | Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo | ngie | 2015-04-12 | 5 | -0/+2493 | |
| | | | | | ||||||
| * | | | | Integrate tools/regression/mmap into the FreeBSD test suite as tests/sys/mmap | ngie | 2015-04-12 | 3 | -0/+113 | |
| | | | | | ||||||
| * | | | | Default to WARNS=6 | ngie | 2015-04-12 | 1 | -0/+3 | |
| | |/ / | |/| | | ||||||
| * | | | Integrate tools/regression/file into the FreeBSD test suite as tests/sys/file | ngie | 2015-04-11 | 8 | -0/+2725 | |
| | | | | ||||||
| * | | | Add directory iteration piece for tests/sys/mqueue | ngie | 2015-04-11 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | Integrate tools/regression/posixshm into the FreeBSD test suite as ↵ | ngie | 2015-04-11 | 5 | -0/+825 | |
| | |/ | |/| | | | | | | | tests/sys/posixshm | |||||
| * | | Integrate tools/regression/mqueue into the FreeBSD test suite as ↵ | ngie | 2015-04-11 | 6 | -0/+522 | |
| |/ | | | | | | | tests/sys/mqueue | |||||
| * | Integrate tools/regression/kqueue into the FreeBSD test suite as ↵ | ngie | 2015-04-11 | 12 | -0/+1770 | |
| | | | | | | | | tests/sys/kqueue |