On Tue, 2010-07-20 at 18:09 -0700, Jiaying Zhang wrote:
> Create mountpoint if it doesn't exist yet.
> 
> TESTED:
> tested with autotest command line.

Note that the partition code was refactored, therefore the file you
mention on this patch does not exist on trunk, only on 0.12.0. I'll
apply this fix to 0.12.1. I checked on trunk and this fix already
exists.

Thanks,

Lucas

> Signed-off-by: Jiaying Zhang <[email protected]>
> 
> --- autotest/client/bin/base_partition.py     2010-07-20 18:07:10.000000000 
> -0700
> +++ autotest/client/bin/base_partition.py     2010-07-20 18:09:01.000000000 
> -0700
> @@ -425,6 +425,8 @@
>              raise ValueError('Don\'t know where to put this partition')
>          self.unmount(ignore_status=True, record=False)
>          self.mkfs()
> +        if not os.path.isdir(mountpoint):
> +            os.makedirs(mountpoint)
>          self.mount(mountpoint)
> _______________________________________________
> Autotest mailing list
> [email protected]
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to