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

[Xen-changelog] Fix console runaway detection for the smallmem_neg test, following the changes



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID c2c02e425c0672204b90cc7757993e2fa0aec7f2
# Parent  bf56c745515fa0953cf28cea21ecb1a7107f7576
Fix console runaway detection for the smallmem_neg test, following the changes
to have Console included as part of the Domain object.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/xm-test/tests/create/16_create_smallmem_neg.py |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r bf56c745515f -r c2c02e425c06 
tools/xm-test/tests/create/16_create_smallmem_neg.py
--- a/tools/xm-test/tests/create/16_create_smallmem_neg.py      Sun May 07 
13:34:45 2006 +0100
+++ b/tools/xm-test/tests/create/16_create_smallmem_neg.py      Sun May 07 
14:00:05 2006 +0100
@@ -14,11 +14,9 @@ domain = XmTestDomain(extraConfig={"memo
 
 try:
     console = domain.start()
+    console.runCmd("ls")
 except DomainError, e:
     FAIL("Unable to start a domain with %i MB" % MEM)
-
-try:
-    console.runCmd("ls")
 except ConsoleError, e:
     if e.reason == RUNAWAY:
         print "Domain with %i MB has runaway console as expected" % MEM

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