This test was applied, but I changed the argument list to execute the test with --mode=random, that is, random syscalls will be tested with random values. On Mon, Mar 22, 2010 at 4:45 AM, Jason Wang <jasowang@xxxxxxxxxx> wrote: > This patch let the scrashme run in the guest. Scrashme is one kind of > fuzzing or stress test through systemcall. It should be useful in > testing the VMM. > > Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx> > --- > client/tests/kvm/autotest_control/scrashme.control | 14 ++++++++++++++ > client/tests/kvm/tests_base.cfg.sample | 3 +++ > 2 files changed, 17 insertions(+), 0 deletions(-) > create mode 100644 client/tests/kvm/autotest_control/scrashme.control > > diff --git a/client/tests/kvm/autotest_control/scrashme.control b/client/tests/kvm/autotest_control/scrashme.control > new file mode 100644 > index 0000000..ba2466f > --- /dev/null > +++ b/client/tests/kvm/autotest_control/scrashme.control > @@ -0,0 +1,14 @@ > +NAME='scrashme' > +AUTHOR='Yi Yang <yang.y.yi@xxxxxxxxx>' > +TEST_CATEGORY='Stress' > +TEST_CLASS='Kernel' > +TEST_TYPE='client' > +TIME='MEDIUM' > +DOC=''' > +Runs the scrashme suite located at: > +http://www.codemonkey.org.uk/projects/scrashme/ > + > +Runs the scrashme syscalls test suite. This test mode will exercise > +kernel syscalls randomically, or in a sequential fashion. > +''' > +job.run_test('scrashme') > diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample > index 861759e..8cc83a9 100644 > --- a/client/tests/kvm/tests_base.cfg.sample > +++ b/client/tests/kvm/tests_base.cfg.sample > @@ -139,6 +139,9 @@ variants: > - tsc: > test_name = tsc > test_control_file = tsc.control > + - scrashme: > + test_name = scrashme > + test_control_file = scrashme.control > > - linux_s3: install setup unattended_install > type = linux_s3 > > _______________________________________________ > Autotest mailing list > Autotest@xxxxxxxxxxxxxxx > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest > -- Lucas -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html