On 07/15/2012 10:50 PM, Feng Yang wrote:
> Now virt_env_process.preprocess_image need three parameters
>
>
> Signed-off-by: Feng Yang<fy...@redhat.com>
> ---
>   client/virt/tests/nfs_corrupt.py |    6 +++---
>   1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/client/virt/tests/nfs_corrupt.py 
> b/client/virt/tests/nfs_corrupt.py
> index 446be31..78e742b 100644
> --- a/client/virt/tests/nfs_corrupt.py
> +++ b/client/virt/tests/nfs_corrupt.py
> @@ -181,12 +181,12 @@ def run_nfs_corrupt(test, params, env):
>
>       config = NFSCorruptConfig(test, params)
>       config.setup()
> -
> -    params["image_name_stg"] = os.path.join(config.mnt_dir, 'nfs_corrupt')
> +    image_name = os.path.join(config.mnt_dir, 'nfs_corrupt')
> +    params["image_name_stg"] = image_name
>       params["force_create_image_stg"] = "yes"
>       params["create_image_stg"] = "yes"
>       stg_params = params.object_params("stg")
> -    virt_env_process.preprocess_image(test, stg_params)
> +    virt_env_process.preprocess_image(test, stg_params, image_name)
>
>       vm = env.get_vm(params["main_vm"])
>       vm.create(params=params)

I updated the commit message a little and pushed this into the 'next' 
branch.  Thanks for the fix.

-- 
Chris Evich, RHCA, RHCE, RHCDS, RHCSS
Quality Assurance Engineer
e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214
_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to