ptrace testsuite
Please post to utrace-devel@redhat.com with any questions, suggestions, or contributions to this test suite. (Or edit this page!)
Most of the tests target ptrace(2) implementation. Most of the ptrace(2) tests have ever failed only on the ptrace-by-utrace implementation.
Get the sources by:
cvs -d :pserver:anoncvs:anoncvs@sources.redhat.com:/cvs/systemtap co ptrace-tests
Simple safe run:
make check
Runs only the tests which crashed older kernels (crasher flag below):
make xcheck
Runs all the tests:
make check xcheck
Environment variable TESTTIME=<seconds> sets the testing time for the unreliable tests.
Testcases
Information on individual testcases and their status can be found in STATUS.tests file.
The table below was used for this purpose, but maintaining it outside of CVS which contains tests themselves proved to be difficult. This data is now outdated:
testcase |
flags |
Fedora 8 (2.6.26.6-49.fc8) |
Fedora 9 (2.6.26.6-79.fc9) |
Fedora 10 |
others |
|
? |
|
|
||
unreliable |
|
|
|
||
|
|
|
|
||
|
|
|
|
||
crasher, unreliable |
|
|
|||
unreliable |
|
|
|
RHEL 5.2 ia64 2.6.18-118.el5 |
|
|
|
|
|
||
|
|
|
|
||
|
|
broken upstream in v2.6.26-5982-g0988c37 (and presumably earlier) |
|||
|
|
|
|
||
|
|
|
|||
|
|
|
|||
crasher, unreliable |
|
|
|
||
|
|
|
|
||
|
|
x86_64 specific |
|||
|
|
|
|
|
|
|
? |
|
ppc specific |
||
|
? |
|
ppc specific fixed upstream |
||
crasher |
? |
|
ppc specific |
||
|
|
|
|
||
|
? |
|
|
||
|
|
|
|||
|
|
|
|
fixed upstream after 2.6.26 |
|
crasher |
|
|
|||
|
|
|
|
||
|
? |
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
||||
|
|
|
|
||
|
|
|
|||
|
|
|
|
||
unreliable |
|
|
|
||
crasher, unreliable |
|
|
|
||
|
|
? |
|
s390 specific |
|
crasher |
|
? |
|
s390 specific |
|
|
|
|
|
|
|
|
|
|
|
||
crasher |
|
|
fixed upstream in 2.6.25-rc1 |
||
|
|
|
|
||
|
|
|
|
The bug was never present in this distribution or it is already fixed in the latest distribution release.
The bug still needs to be fixed for the latest distribution release.
crasher = There exist (possibly older) kernel releases which could crash on this test.
unreliable = Race conditions may need a long time testing runs for a reasonable reproducibility. Please set TESTTIME to values like 3600 (seconds), still in some cases the problem reproducibility may depend also on the kernel arch and other kernel configuration options.
