2004-04-19 06:07:44

by dan carpenter

[permalink] [raw]
Subject: Strace Test Take 2

This is the second approach at Strace Test.

Basically Strace test runs a lot of LTP tests. The
difference is that it calls traces the system calls
from the LTP tests and calls them again with improper
values. That adds an extra kick. I think Strace
Test might be the fastest general purpose kernel
crasher there is.

In this version, I added some new improper values to
try, based on some source code that Dave Jones wrote.
The other effective change was to start multiple
instance of the same test at the same time. That
helps trigger race conditions.

I tried testing on 2.4 and it was really stable.
On 2.6, I was able to simulate an SMP kernel using
the preempt code and that helps locate race
conditions. I wasn't able to test a 2.2 kernel
but my guess is that it's pretty stable, especially
with a UP kernel.

http://67.113.20.209/strace_test-2.tar.gz

Test Instructions (for i386)
Create a test user
Download and untar ltp (ltp.sf.net)
Cd to ltp and `make -k`
Untar strace_test
cd strace_test && ./go_go.sh
Enter the path to ltp
Enter the test user

regards,
dan carpenter

--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm