Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: client/tests/flail/flail.py

Issue 3541002: Revert "Merge remote branch 'cros/upstream' into tempbranch2" (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/tests/flail/control ('k') | client/tests/flail/flail-0.2.0.tar.gz » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/flail/flail.py
diff --git a/client/tests/flail/flail.py b/client/tests/flail/flail.py
deleted file mode 100644
index 5b32fe69bdb4e78daf9a467ff6b45c8847cd4f42..0000000000000000000000000000000000000000
--- a/client/tests/flail/flail.py
+++ /dev/null
@@ -1,42 +0,0 @@
-import os
-from autotest_lib.client.bin import test, utils
-
-
-class flail(test.test):
- """
- This autotest module runs the flail system call fuzzer.
-
- 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.
-
- @author: Pradeep K Surisetty (psuriset@linux.vnet.ibm.com)
- @see: http://www.risesecurity.org/ (Website of Ramon Valle, flail's creator)
- """
- version = 1
-
- def initialize(self):
- self.job.require_gcc()
-
-
- def setup(self, tarball = 'flail-0.2.0.tar.gz'):
- """
- Compiles flail with the appropriate parameters.
-
- @param tarball: Path or URL for the flail tarball.
- """
- tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
- utils.extract_tarball_to_dir(tarball, self.srcdir)
- os.chdir(self.srcdir)
- utils.make()
-
-
- def run_once(self, fstype = 'iso9660'):
- """
- Runs flail with the appropriate parameters.
-
- @param fstype: Filesystem type you wish to run flail on.
- """
- args = fstype + ' 1'
- flail_cmd = os.path.join(self.srcdir, 'flail %s' % args)
- utils.system(flail_cmd)
« no previous file with comments | « client/tests/flail/control ('k') | client/tests/flail/flail-0.2.0.tar.gz » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698