| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- Add cdev-related tests for bad args.
- Add two simple tests cases for mapping /dev/zero that test for
MAP_ANON-like behavior.
Reviewed by: alc, kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D3323
|
|
|
|
|
|
|
| |
trigger failures.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D3269
|
|
|
|
|
|
|
| |
facilitate adding more mmap() tests.
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D3268
|
|
|
|
|
|
|
|
|
|
|
| |
original parent. Otherwise the debugee will be set as an orphan of
the debugger.
Add tests for tracing forks via PT_FOLLOW_FORK.
Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D2809
|
| |
|
|
|
|
|
|
| |
Eliminates "ioctl sign-extension" warnings.
PR: 200896
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cleanup routines can be executed at any point during the execution of the
body, including even before the body has done any real work. In those
cases, cleanup routines should be careful to not raise spurious errors so
as to not "override" the actual result of the test case.
This is just general good coding style but is not a problem in practice
for these specific tests. (The way I discovered the issue, though, was
due to a regression I introduced in Kyua itself while refactoring some
internals.)
MFC after: 1 week
|
|
|
|
|
| |
Differential Revision: D2748
Reviewed by: brooks imp
|
|
|
|
|
|
|
| |
of the main test process.
Differential Revision: https://reviews.freebsd.org/D2664
Reviewed by: ngie (previous version)
|
|
|
|
| |
Pointyhat to: ngie
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
non-blocking wait to avoid the word "empty".
Requested by: ngie
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Reported by: many, Jenkins
Pointyhat to: ngie
MFC after: 4 days
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
MFC after: 6 days
|
|
|
|
| |
MFC after: 6 days
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
MFC after: 6 days
|
|
|
|
|
|
|
| |
This is very rough, but will be replaced/redesigned some time soon after I fix
the Jenkins breakage I introduced
MFC after: 6 days
|
|
|
|
| |
MFC after: 6 days
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
tests/sys/kern/mmap_test
MFC after: 1 week
|
|\ \
| | |
| | |
| | |
| | |
| | | |
FreeBSD test suite as tests/sys/aio
MFC after: 1 week
|
| |/ |
|
| |
| |
| |
| | |
tests/sys/aio
|
| |
| |
| |
| |
| |
| | |
Don't install/test unix_cmsg because it's broken [1]
PR: 199478
|
| |
| |
| |
| | |
unix_passfd_test
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
the sourcecode broken (it fails on my system at least; more investigation
needed)
|
| |
| |
| |
| |
| |
| | |
- bind to random ports
- Close the server port so the TCP testcases won't terminate prematurely
because bind(2) failed
|
| |
| |
| |
| | |
Mark test 8 as an expected failure so it no longer counts as an unexpected one
|
| | |
|
| | |
|
| | |
|
| | |
|
| | | |
| \ | |
|\ \ \
| | |/
| | |
| | |
| | |
| | | |
tests/sys/mqueue
MFC after: 1 week
|
| | | |
|
| | | | |
| \ \ | |
| \ \ | |
| \ \ | |
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
and tools/regression/file into the FreeBSD test suite as tests/sys/file
MFC after: 1 week
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
tests/sys/kqueue
MFC after: 1 week
|
| \ \ \ \ \ \ | |
| \ \ \ \ \ \ | |
|\ \ \ \ \ \ \ \
| | | |_|_|_|_|/
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
tests/sys/kern/execve
MFC after: 1 week
|
| | | |_|/ / /
| | |/| | | | |
|
| | | | | | | |
|
| |/ / / / / |
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
tests/sys/kern/execve
|