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

[Xen-changelog] Update 01_pause_basic test for new console behavior.



# HG changeset patch
# User dan@xxxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID c2f0ed9158ad7fe84b803a7da449dae8492e58d2
# Parent  234b3d608c86496be30adcd147f9213bec8befd5
Update 01_pause_basic test for new console behavior.

diff -r 234b3d608c86 -r c2f0ed9158ad 
tools/xm-test/tests/pause/01_pause_basic_pos.py
--- a/tools/xm-test/tests/pause/01_pause_basic_pos.py   Thu Nov 17 10:56:13 2005
+++ b/tools/xm-test/tests/pause/01_pause_basic_pos.py   Thu Nov 17 10:58:36 2005
@@ -49,12 +49,9 @@
 if status != 0:
        FAIL("xm pause returned invalid %i != 0", status)
 
-# Attach a console to it
+# Try to attach a console to it
 try:
     console = XmConsole(domain.getName(), historySaveCmds=True)
-except ConsoleError, e:
-    FAIL(str(e))
-try:
     run = console.runCmd("ls")
     #If we get here, console attached to paused domain (unexpected)
     FAIL("console attached to supposedly paused domain")

_______________________________________________
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®.