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/parallel_dd b/client/samples/parallel_dd
index e0b0f92..57e712b 100755
--- a/client/samples/parallel_dd
+++ b/client/samples/parallel_dd
@@ -1,6 +1,6 @@
def tests(tag):
fs = job.filesystem('/dev/sda3', job.tmpdir)
- job.run_test('parallel_dd', fs, 'ext2', 1, 1000, 2, tag=tag)
+ job.run_test('parallel_dd', fs=fs, fs_type='ext2', iterations=1, megabytes=1000, streams=2, tag=tag)
def step_init():
testkernel = job.kernel('/usr/src/linux-2.6.18.tar.bz2')