Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2009 09:21:45 +0100
From:      Peter Holm <pho@freebsd.org>
To:        freebsd-arch@freebsd.org
Subject:   stress2 is now in projects
Message-ID:  <20090118082145.GA18067@x2.osted.lan>

next in thread | raw e-mail | index | archive | help
The Kernel Stress Test Suite (stress2) is now in svn:
svn://svn.freebsd.org/base/projects/stress2

The purpose of the test suite is to expose design and implementation
problems in the kernel, which may lead to panics or deadlocks.

The key functionality of this test suite is that it runs a random
number of test programs for a random period, in random incarnations
and in random sequence. This very simple idea is implemented in the
"run" test program, which controls the behavior of all the other
test programs.

To simplify writing test programs, a test harness is implemented
as a library that handles running the test programs.  All the creator
of new test programs has to implement are three procedures: setup(),
cleanup() and test().


Usage should be straight forward:

cd projects/stress2
make
sh ./run.sh

The "run.sh" script accepts an optional configuration file in order to test specific areas.
For example:

./run.sh vfs.sh


More details in projects/stress2/README.
Documentation may be found in projects/stress2/doc.

Please have me in mind when you find a problem that can panic the
kernel, as I collect regression test scenarios in projects/stress2/misc.

- Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090118082145.GA18067>