ia64/xen-unstable

changeset 9960:c2c02e425c06

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@xensource.com>
author emellor@leeni.uk.xensource.com
date Sun May 07 14:00:05 2006 +0100 (2006-05-07)
parents bf56c745515f
children 1d2a0e2ef8f7
files tools/xm-test/tests/create/16_create_smallmem_neg.py
line diff
     1.1 --- a/tools/xm-test/tests/create/16_create_smallmem_neg.py	Sun May 07 13:34:45 2006 +0100
     1.2 +++ b/tools/xm-test/tests/create/16_create_smallmem_neg.py	Sun May 07 14:00:05 2006 +0100
     1.3 @@ -14,11 +14,9 @@ domain = XmTestDomain(extraConfig={"memo
     1.4  
     1.5  try:
     1.6      console = domain.start()
     1.7 +    console.runCmd("ls")
     1.8  except DomainError, e:
     1.9      FAIL("Unable to start a domain with %i MB" % MEM)
    1.10 -
    1.11 -try:
    1.12 -    console.runCmd("ls")
    1.13  except ConsoleError, e:
    1.14      if e.reason == RUNAWAY:
    1.15          print "Domain with %i MB has runaway console as expected" % MEM