Hello Pradeep: What the differences between flail and scrashme, since we've already had already had scrashme as a similar test running in guest.
----- "Pradeep Kumar" <[email protected]> wrote: > Hi Lucas > > Please find below patch to run security test (flail) on KVM guests. > flail is a systemcall fuzzer tool. This test simply runs flail. > > Fuzzing is slang for fault injection . It runs all system calls > for the specific kernel version with random args. > The goal is to find bugs in software without reading code or > designing detailed test cases. > > I have a flail tarball which needs to be included to test suite like > ltp, fsfuzzer etc... > Below attached tarball has to b included separately to flail test > suite. > > > Signed-off-by: Pradeep K Surisetty <[email protected]> > --- > diff -uprN b/client/tests/flail/control a/client/tests/flail/control > --- b/client/tests/flail/control 1970-01-01 05:30:00.000000000 +0530 > +++ a/client/tests/flail/control 2010-09-08 12:31:16.531808697 +0530 > @@ -0,0 +1,17 @@ > +AUTHOR = "Pradeep Kumar Surisetty <[email protected]>" > +NAME = "flail" > +TEST_CATEGORY = "Stress" > +TEST_CLASS = "General" > +TEST_TYPE = "client" > +TIME = 'MEDIUM' > +EXPERIMENTAL = "True" > + > +DOC=''' > +flail is a systemcall fuzzer tool. This test simply runs flail. > +Fuzzing is slang for fault injection . It runs all system calls > +for that kernel version with random args. > +The goal is to find bugs in software without reading code or > +designing detailed test cases. > +''' > + > +job.run_test('flail') > diff -uprN b/client/tests/flail/flail.py > a/client/tests/flail/flail.py > --- b/client/tests/flail/flail.py 1970-01-01 05:30:00.000000000 +0530 > +++ a/client/tests/flail/flail.py 2010-09-08 12:34:15.008564433 +0530 > @@ -0,0 +1,23 @@ > +import os > +from autotest_lib.client.bin import test, utils > + > + > +class flail(test.test): > + version = 1 > + > + def initialize(self): > + self.job.require_gcc() > + > + > + # http://flail.org/bits/flail-0.2.0.tar.gz > + def setup(self, tarball = 'flail-0.2.0.tar.gz'): > + tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir) > + utils.extract_tarball_to_dir(tarball, self.srcdir) > + os.chdir(self.srcdir) > + > + utils.system('make') > + > + > + def run_once(self, fstype = 'iso9660'): > + args = fstype + ' 1' > + utils.system(self.srcdir + '/flail ' + args) > --- > _______________________________________________ > Autotest mailing list > [email protected] > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
