mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
This commit is contained in:
1 parent
aed92ee453
commit
5afd6596ba
1 file changed
+1
-3
@@ -14,11 +14,9 @@ domain = XmTestDomain(extraConfig={"memory": MEM,
|
||||
|
||||
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
|
||||
|
||||