3
# Copyright (C) International Business Machines Corp., 2005
4
# Author: Dan Smith <danms@us.ibm.com>
6
from XmTestLib import *
8
# Create a domain with the minimum memory allocation
11
domain = XmTestDomain(extraConfig={"memory": MEM,
12
"extra" :"mem=%iM" % MEM})
15
console = domain.start()
16
except DomainError, e:
17
FAIL("Unable to start a domain with %i MB" % MEM)
21
except ConsoleError, e:
22
if e.reason == RUNAWAY:
23
FAIL("Bug #380: Starting a console with %i MB crashed the console daemon" % MEM)
25
FAIL("Starting a console with %i MB failed: domain dies immediately!" % MEM)