Convert all python code to use four-space indents instead of eight-space tabs.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/fsfuzzer/fsfuzzer.py b/client/tests/fsfuzzer/fsfuzzer.py
index 07d2c09..d8310e3 100755
--- a/client/tests/fsfuzzer/fsfuzzer.py
+++ b/client/tests/fsfuzzer/fsfuzzer.py
@@ -4,27 +4,27 @@
class fsfuzzer(test.test):
- version = 1
+ version = 1
- # http://people.redhat.com/sgrubb/files/fsfuzzer-0.6.tar.gz
- def setup(self, tarball = 'fsfuzzer-0.6.tar.gz'):
- tarball = utils.unmap_url(self.bindir, tarball,
- self.tmpdir)
- autotest_utils.extract_tarball_to_dir(tarball, self.srcdir)
- os.chdir(self.srcdir)
+ # http://people.redhat.com/sgrubb/files/fsfuzzer-0.6.tar.gz
+ def setup(self, tarball = 'fsfuzzer-0.6.tar.gz'):
+ tarball = utils.unmap_url(self.bindir, tarball,
+ self.tmpdir)
+ autotest_utils.extract_tarball_to_dir(tarball, self.srcdir)
+ os.chdir(self.srcdir)
- utils.system('make')
-
- def execute(self, iterations = 1, fstype = 'iso9660'):
- profilers = self.job.profilers
- args = fstype + ' 1'
- if not profilers.only():
- for i in range(iterations):
- utils.system(self.srcdir + '/run_test ' + args)
+ utils.system('make')
- # Do a profiling run if necessary
- if profilers.present():
- profilers.start(self)
- utils.system(self.srcdir + '/run_test ' + args)
- profilers.stop(self)
- profilers.report(self)
+ def execute(self, iterations = 1, fstype = 'iso9660'):
+ profilers = self.job.profilers
+ args = fstype + ' 1'
+ if not profilers.only():
+ for i in range(iterations):
+ utils.system(self.srcdir + '/run_test ' + args)
+
+ # Do a profiling run if necessary
+ if profilers.present():
+ profilers.start(self)
+ utils.system(self.srcdir + '/run_test ' + args)
+ profilers.stop(self)
+ profilers.report(self)