Automatically work out which arguments intialize, setup, execute/run_once need

Pass the appropriate args from run_test through to each of them

From: Rafael Xavier de Souza <rxaviers@br.ibm.com>
From: Martin J. Bligh <mbligh@google.com>
Signed-off-by: Martin J. Bligh <mbligh@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@1859 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/samples/filesystem b/client/samples/filesystem
index dc8b2bd..87abe0f 100755
--- a/client/samples/filesystem
+++ b/client/samples/filesystem
@@ -14,8 +14,8 @@
 	fs.mkfs(fstype)
 	fs.mount()
 	try:
-		job.run_test('fsx', job.tmpdir, tag=fstype)
-		job.run_test('iozone', job.tmpdir, tag=fstype)
+		job.run_test('fsx', dir=job.tmpdir, tag=fstype)
+		job.run_test('iozone', dir=job.tmpdir, tag=fstype)
 		job.run_test('dbench', dir=job.tmpdir, tag=fstype)
 	finally:
 		fs.unmount()