[Libvirt-cim] [PATCH] [TEST] Fix VirtualSystemSettingDataComponent - 01_forward.py failure
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Tue Jul 1 20:59:08 UTC 2008
> > def build_vssd_info(ip, vssd):
> > """
> > Creating the vssd fileds lists that will be used for
> comparisons.
> > """
> > - global vssd_names, vssd_values
> >
> > if vssd.Bootloader == "" or vssd.Caption == "" or \
> > vssd.InstanceID == "" or vssd.ElementName == "" or \
> > @@ -105,26 +101,17 @@
> > test_domain_function(test_dom, ip, "undefine")
> > sys.exit(status)
> >
> >
> You can also update the status setting in build_vssd_info(ip, vssd)
> function.
> Below is the code detail to update:
>
> - status = 1
> test_domain_function(test_dom, ip, "undefine")
> - sys.exit(status)
> + return FAIL
Excellent catch - thanks!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list