[Libvirt-cim] [PATCH] [TEST] fix the tc 05_destroysystem_neg.py failure
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Wed Apr 16 01:08:43 UTC 2008
Guo Lian Yun wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1208141230 25200
> # Node ID 167489e6f009e6208c119baca9a64efee7881475
> # Parent 137e5079c73fcbfc70e6654cee0b3c3eb3c6acd2
> [TEST] fix the tc 05_destroysystem_neg.py failure
>
> Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
>
> diff -r 137e5079c73f -r 167489e6f009 suites/libvirt-cim/cimtest/VirtualSystemManagementService/05_destroysystem_neg.py
> --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/05_destroysystem_neg.py Fri Apr 11 16:58:23 2008 +0530
> +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/05_destroysystem_neg.py Sun Apr 13 19:47:10 2008 -0700
> @@ -44,7 +44,7 @@ def destroysystem_fail(tc, options):
> cs_ref = CIMInstanceName(classname,
> keybindings = {'CreationClassName':classname})
> elif tc == 'nonexistent':
> - exp_rc = 4 #IM_RC_SYS_NOT_FOUND
> + exp_rc = 2 #IM_RC_FAILED
> cs_ref = CIMInstanceName(classname,keybindings = {
> 'Name':'##@@!!cimtest_domain',
> 'CreationClassName':classname})
With this patch applied, the test case still fails.
The test case encounters an exception, which is due to a change in the
provider behavior.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list