provide default dir for iozone and tiobench
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@715 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/iozone/iozone.py b/client/tests/iozone/iozone.py
index 4591be6..5fcd24f 100644
--- a/client/tests/iozone/iozone.py
+++ b/client/tests/iozone/iozone.py
@@ -22,7 +22,10 @@
else:
system('make linux')
- def execute(self, dir, iterations=1, args = None):
+
+ def execute(self, dir = None, iterations=1, args = None):
+ if not dir:
+ dir = self.tmpdir
os.chdir(dir)
if not args:
args = '-a'