[Libvirt-cim] [PATCH 2 of 2] [TEST] Update tests to expect images to be in /var/lib/libvirt/images

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Tue Nov 3 08:38:02 UTC 2009


+1

Kaitlin Rupert wrote:
> # HG changeset patch
> # User Kaitlin Rupert <karupert at us.ibm.com>
> # Date 1255985311 25200
> # Node ID 4047a548c85f56c139dc32cbf6953337a0789482
> # Parent  32e63009d0906fb9cf79799205e6d4ea84e18117
> [TEST] Update tests to expect images to be in /var/lib/libvirt/images
>
> Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>
>
> diff -r 32e63009d090 -r 4047a548c85f suites/libvirt-cim/lib/XenKvmLib/const.py
> --- a/suites/libvirt-cim/lib/XenKvmLib/const.py	Mon Oct 19 13:48:30 2009 -0700
> +++ b/suites/libvirt-cim/lib/XenKvmLib/const.py	Mon Oct 19 13:48:31 2009 -0700
> @@ -72,7 +72,7 @@
>  default_mallocunits="MegaBytes"
>
>
> -_image_dir = '/tmp'
> +_image_dir = '/var/lib/libvirt/images'
>
>  # vxml.XenXML
>  Xen_kernel_path = os.path.join(_image_dir, 'default-xen-kernel')
> diff -r 32e63009d090 -r 4047a548c85f suites/libvirt-cim/lib/XenKvmLib/vxml.py
> --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py	Mon Oct 19 13:48:30 2009 -0700
> +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py	Mon Oct 19 13:48:31 2009 -0700
> @@ -316,7 +316,7 @@
>          pool = self.add_sub_node(self.xdoc, 'pool', type='dir')
>          self.add_sub_node(pool, 'name', self.pool_name)
>          target = self.add_sub_node(pool, 'target')
> -        self.add_sub_node(target, 'path', '/tmp')
> +        self.add_sub_node(target, 'path', const._image_dir)
>
>      def create_vpool(self):
>          return self.run(self.server, 'pool-create', self.xml_string)
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>   

-- 
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list