[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix console handling; saveLog call was broken if ConsoleError occurred.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 9964f27fd80bceb625c89be2adcd0f20170e79b9
# Parent  85a1a57320a6a5ba585f84c156c8f44cd5336fe6
Fix console handling; saveLog call was broken if ConsoleError occurred.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 85a1a57320a6 -r 9964f27fd80b 
tools/xm-test/tests/create/14_create_blockroot_pos.py
--- a/tools/xm-test/tests/create/14_create_blockroot_pos.py     Sun Nov 27 
01:28:11 2005
+++ b/tools/xm-test/tests/create/14_create_blockroot_pos.py     Sun Nov 27 
10:46:26 2005
@@ -36,6 +36,10 @@
 
 try:
     console = XmConsole(domain.getName(), historySaveCmds=True)
+except ConsoleError, e:
+    FAIL(str(e))
+
+try:
 #    console.debugMe = True
     console.sendInput("foo")
     run = console.runCmd("ls")

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.