# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1218177942 25200
# Node ID 27296a26623a258e9e05effbcbf6d483dd0f8faa
# Parent 0f568c2c36035da2574e11d128780833392e43af
[TEST] Updating the bug no for in 32_start_reboot.py and 33_suspend_reboot.py.
Changed the bug no to 00005 to reflect the issue where libvirt does not support rebooting
the KVM guest.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 0f568c2c3603 -r 27296a26623a
suites/libvirt-cim/cimtest/ComputerSystem/32_start_reboot.py
--- a/suites/libvirt-cim/cimtest/ComputerSystem/32_start_reboot.py Wed Aug 06 06:08:02
2008 -0700
+++ b/suites/libvirt-cim/cimtest/ComputerSystem/32_start_reboot.py Thu Aug 07 23:45:42
2008 -0700
@@ -50,7 +50,7 @@ from XenKvmLib.common_util import create
sup_types = ['Xen', 'XenFV', 'KVM']
-bug_req_state = "00002"
+bug_libvirt = "00005"
ACTIVE_STATE = 2
REBOOT_STATE = 10
default_dom = 'cs_test_domain'
@@ -89,7 +89,7 @@ def main():
if status != PASS:
logger.error("Unable to '%s' dom '%s' using
RequestedStateChange()",
action, default_dom)
- status = XFAIL_RC(bug_req_state)
+ status = XFAIL_RC(bug_libvirt)
break
status, dom_cs = poll_for_state_change(server, virt, default_dom, en_state,
diff -r 0f568c2c3603 -r 27296a26623a
suites/libvirt-cim/cimtest/ComputerSystem/33_suspend_reboot.py
--- a/suites/libvirt-cim/cimtest/ComputerSystem/33_suspend_reboot.py Wed Aug 06 06:08:02
2008 -0700
+++ b/suites/libvirt-cim/cimtest/ComputerSystem/33_suspend_reboot.py Thu Aug 07 23:45:42
2008 -0700
@@ -54,7 +54,7 @@ from XenKvmLib.common_util import create
sup_types = ['Xen', 'XenFV', 'KVM']
-bug_req_state = "00002"
+bug_libvirt = "00005"
ACTIVE_STATE = 2
SUSPND_STATE = 9
REBOOT_STATE = 10
@@ -96,7 +96,7 @@ def main():
if status != PASS:
logger.error("Unable to '%s' dom '%s' using
RequestedStateChange()",
action, default_dom)
- status = XFAIL_RC(bug_req_state)
+ status = XFAIL_RC(bug_libvirt)
break
status, dom_cs = poll_for_state_change(server, virt, default_dom, en_state,