Create mountpoint if it doesn't exist yet. TESTED: tested with autotest command line.
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
