[Libvirt-cim] [PATCH] [TEST] fix the tc 05_destroysystem_neg.py failure

Guo Lian Yun yunguol at cn.ibm.com
Mon Apr 14 02:47:16 UTC 2008


# 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})




More information about the Libvirt-cim mailing list