ia64/xen-unstable

diff tools/xm-test/tests/create/15_create_smallmem_pos.py @ 11960:fd5140c2854f

Fix Memory assumptions in the create tests.

Use the architecture specified idea of minimum memory.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Oct 24 14:52:20 2006 +0100 (2006-10-24)
parents bef7f5fcf207
children
line diff
     1.1 --- a/tools/xm-test/tests/create/15_create_smallmem_pos.py	Tue Oct 24 14:48:06 2006 +0100
     1.2 +++ b/tools/xm-test/tests/create/15_create_smallmem_pos.py	Tue Oct 24 14:52:20 2006 +0100
     1.3 @@ -5,8 +5,8 @@
     1.4  
     1.5  from XmTestLib import *
     1.6  
     1.7 -# 32MBs is the default lower limit for creating domains, it should work
     1.8 -MEM = 32
     1.9 +# Create a domain with the minimum memory allocation
    1.10 +MEM = minSafeMem()
    1.11  
    1.12  domain = XmTestDomain(extraConfig={"memory": MEM,
    1.13                                     "extra" :"mem=%iM" % MEM})