summaryrefslogtreecommitdiff
path: root/tests/kernel
AgeCommit message (Collapse)Author
2014-03-02Make cleanup routines actually work.jmmv
The only way to pass global state from the body to the cleanup is via the file system. Fixes leaks of global system resources (in all cases, given that the body does not by itself clean things up).
2014-03-02Remove unnecessary and broken cleanup routine.jmmv
2013-10-19fix unused variable warningschristos
2013-07-24Fix msgsz confusion.skrll
2013-05-31Don't rely on "kill -0" to check whether a background shell commandgson
has exited; it does not work reliably because the process may still exist as a zombie. OK mlelstv.
2013-04-28shorten fileops test furthermlelstv
add new test that verifies locking of the mount list.
2013-04-27shorten test to not time out on our test infrastructure.mlelstv
2013-04-20Now use correct test files and pass child failures to test function.mlelstv
2013-04-16First attempt at stress testing umount of a busy disk.mlelstv
2013-02-28getsockname() needs a socklen_t, not a size_tmartin
2013-02-28Add a testprogram for PR 47598.martin
2013-02-20Fix the error message handling. Thanks to Christos for noticing.pgoyette
2013-02-19Replace printf() in child process with a simple write(STDERR_FILNO,...)pgoyette
Thanks, Joerg.
2013-02-19Rather than just sleeping and hoping that all the sub-processes arepgoyette
ready to be ptrace()d, use a positive barrier.
2013-02-19White-space in for(...) loops.pgoyette
Use #define instead of static variables to define test parameters. No functional change.
2013-02-19Create a variable for max number of passes to make. While we're here,pgoyette
reduce the pass-count from 100 to 50; this is more than enough to prove that the test is working, and helps reduce the ever-increasing time it's taking to run the entire test suite.
2013-02-19Wait a little bit after fork()ing the lockers to give them a chance topgoyette
get started before trying to ptrace(ATTACH). Otherwise, the traced process doesn't seem to resume properly upon ptrace(DETACH) and on the next pass the ptrace(ATTACH) just hangs forever, causing the test to time-out. XXX The failure-to-resume-properly might actually be a kernel bug that we need to follow up on. But for now, let's make the test work as intended.
2013-02-18Check that we did get EDEADLK error, and fail immediately if we did not.pgoyette
2012-11-17Unbreak the NOTE_TRACK event of EVFILT_PROC. When attaching to the childjoerg
process, proc_find can't be used as the child is still in state SIDL.
2012-11-07Add missing '+' so we include t_lock as well as t_lockf and others.pgoyette
Should fix the build break.
2012-11-07Add ATF version of the file locking testpgoyette
2012-11-07Fix MKRUMP=no build.nakayama
librt is unrelated to rump.
2012-11-06Use an ATF_TC_CLEANUP() routine to delete the mkdtemp() directory evenpgoyette
if the test case fails/exits sooner.
2012-11-06Replace the atexit() routines with ATF_TC_CLEANUP()pgoyette
Factor out the generation of token_keys to a separate routine, called from each test case. And make sure we remove the mkdtemp()-created directory after we're finished with it.
2012-11-06use mkdtemp() instead of mktemp().apb
2012-11-05Convert to ATF format the old src/regress/ style tests for Sys V IPCpgoyette
2012-11-03Convert the old src/regress/mqueue test to ATFpgoyette
2012-10-31Avoid ssp re-definitions for the functions we provide.christos
2012-08-08Exclude tests that use rumpchristos
2012-03-18Move more PR references from comments to ATF's "descr".jruoho
2012-03-17Move the _lwp_ctl(2) preemption counter check to the right place.jruoho
2012-03-15Add __printflike attribution to use vprintf and friends with an argumentjoerg
as format string.
2012-02-13Move posix_spawn tests to lib/libc/gen/posix_spawn - they test both libcmartin
and kernel, but that is an implementation detail unrelated to the tests themselfs. Ok: releng
2012-02-11Add userland part of posix_spawn. Libc functions imported from FreeBSD.martin
Based on Charles Zhang's summer of code project.
2012-01-27converting extent(9) from malloc(9) to kmem(9)para
preceding kmem-vmem-pool-uvm patch releng@ acknowledged
2011-11-24Add a test for the kernel snprintf.christos
2011-10-15Move the sigaction(2) test to the right place.jruoho
2011-10-15Move the ucontext(2) test to the right place.jruoho
2011-10-15Move the writev(2) test to the right place.jruoho
2011-10-15Move the clock_gettime(2) timer test to the right place.jruoho
2011-10-15Follow the design principles of tests(7) by merging 't_poll3w' to 't_poll'jruoho
as a test case instead of separate file.
2011-10-15Move the mkdir(2) test to the right place.jruoho
2011-10-15Move the pipe(2) test to the right place.jruoho
2011-10-15Move the posix_fadvise(2) test to the right place.jruoho
2011-09-24Add a pty test, written by Matthew Mondorchristos
2011-06-11Turn warns on for all tests and fix all the bugs.christos
2011-05-28Move regression test for PR kern/44986 from "kernel" to "syscalls" astron
the later directory seems to be a better fit.
2011-05-28PR/44896 has been fixed.christos
BTW: We've created a mess here again with the directory structure of the tests. What goes in syscalls, what goes in sys, and what goes in kernel? I think we should follow the userland location for paths where those should be defined, so everything should go into libc/sys.
2011-05-28Add two test cases for pollts(2):tron
- The first tests basic functionality e.g. timeouts and correct events. - The second tests whether pollts(2) correctly restores the signal mask. This test currently fails because of PR kern/44986.
2011-04-26Add TNF license. OK: pooka.martin