From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: Re: [PATCH 3/4] KVM test: Add scrashme into guest test Date: Wed, 24 Mar 2010 22:29:47 -0300 Message-ID: <6ac58f4f1003241829p1f28259erbb86c154cfe9e8a2@mail.gmail.com> References: <20100322074452.16119.22820.stgit@localhost.localdomain> <20100322074509.16119.30049.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: autotest@test.kernel.org, kvm@vger.kernel.org To: Jason Wang Return-path: In-Reply-To: <20100322074509.16119.30049.stgit@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org This test was applied, but I changed the argument list to execute the test with --mode=3Drandom, that is, random syscalls will be tested with random values. On Mon, Mar 22, 2010 at 4:45 AM, Jason Wang 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 > --- > =A0client/tests/kvm/autotest_control/scrashme.control | =A0 14 ++++++++++= ++++ > =A0client/tests/kvm/tests_base.cfg.sample =A0 =A0 =A0 =A0 =A0 =A0 | =A0 = =A03 +++ > =A02 files changed, 17 insertions(+), 0 deletions(-) > =A0create 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=3D'scrashme' > +AUTHOR=3D'Yi Yang ' > +TEST_CATEGORY=3D'Stress' > +TEST_CLASS=3D'Kernel' > +TEST_TYPE=3D'client' > +TIME=3D'MEDIUM' > +DOC=3D''' > +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/te= sts_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: > =A0 =A0 =A0 =A0 =A0 =A0 - tsc: > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 test_name =3D tsc > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 test_control_file =3D tsc.control > + =A0 =A0 =A0 =A0 =A0 =A0- scrashme: > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0test_name =3D scrashme > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0test_control_file =3D scrashme.control > > =A0 =A0 - linux_s3: =A0 =A0 install setup unattended_install > =A0 =A0 =A0 =A0 type =3D linux_s3 > > _______________________________________________ > Autotest mailing list > Autotest@test.kernel.org > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest > -- = Lucas