public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Wang <jasowang@redhat.com>
To: autotest@test.kernel.org, lmr@redhat.com, kvm@vger.kernel.org
Subject: [PATCH 3/4] KVM test: Add scrashme into guest test
Date: Mon, 22 Mar 2010 15:45:09 +0800	[thread overview]
Message-ID: <20100322074509.16119.30049.stgit@localhost.localdomain> (raw)
In-Reply-To: <20100322074452.16119.22820.stgit@localhost.localdomain>

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@redhat.com>
---
 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@gmail.com>'
+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

  parent reply	other threads:[~2010-03-22  7:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22  7:44 [PATCH 1/4] KVM test: Add monotonic_time into the guest test Jason Wang
2010-03-22  7:45 ` [PATCH 2/4] KVM test: Add TSC into " Jason Wang
2010-03-24  5:37   ` [Autotest] " Lucas Meneghel Rodrigues
2010-03-24  5:59     ` Jason Wang
2010-03-24 14:43       ` Lucas Meneghel Rodrigues
2010-03-26  2:51         ` Jason Wang
2010-03-22  7:45 ` Jason Wang [this message]
2010-03-25  1:29   ` [PATCH 3/4] KVM test: Add scrashme " Lucas Meneghel Rodrigues
2010-03-22  7:45 ` [PATCH 4/4] KVM test: Enable timedrift for Linux guests Jason Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100322074509.16119.30049.stgit@localhost.localdomain \
    --to=jasowang@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=lmr@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox