freebsd-nq/tools/test/stress2
Peter Holm bab2efd47b stress2: Temporarily removed the rename(2) tests as these seem to trigger a
deadlock.  Count the number of CLEAN + MODIFIED reports from fsck_ffs and
flag counts > 1 as an error
2022-10-11 10:20:51 +02:00
..
doc
include
lib
misc stress2: Temporarily removed the rename(2) tests as these seem to trigger a 2022-10-11 10:20:51 +02:00
testcases stress2: Enable more swap disk usage 2022-07-15 10:19:39 +02:00
tools stress2: Added a tool to zero out a superblock check hash. 2022-02-13 10:47:20 +01:00
all.cfg
creat.cfg
ddb.conf
default.cfg stress2: Remove bsdlabel(8) from tests 2022-06-17 05:42:52 +02:00
df.cfg
disk.cfg
io.cfg
jeff.cfg
link.cfg
load.cfg
lockf.cfg
Makefile
marcus.cfg
mkdir.cfg
mkfifo.cfg
norw.cfg
noswap.cfg
pty.cfg
README
run.sh
rw.cfg
syscall.cfg
sysctl.cfg
udp.cfg
vfs.cfg

stress2 is a tool for finding problems in the kernel.

It is composed of a large number of regression tests, tests that
stress various components of the kernel and a few validation tests.
There are currently some 700 different tests.

The key idea behind stress2 is to randomize as much as possible in
a test, as a way of achieving better coverage.  For example, varying
VM pressure, varying numbers of threads, varying delays, etc.
stress2 has found a large number of problems:
https://people.freebsd.org/~pho/stress/log/

To run the full test suite type "make test" in the stress2 directory.

To run a subset of tests, go to the stress2/misc directory.
    To run for example all tmpfs tests, type ./all.sh -o $(grep -l tmpfs *.sh)
    To run fdatasync.sh for one hour, type ./all.sh -m 60 fdatasync.sh"
    To run dup2.sh three times, type ./all.sh -l 3 dup2.sh

Peter Holm <pho@FreeBSD.org>