ia64/xen-unstable

view tools/xm-test/tests/create/02_create_noparm_neg.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 725bf42d4713
children
line source
1 #!/usr/bin/python
3 # Copyright (C) International Business Machines Corp., 2005
4 # Author: Woody Marvel <marvel@us.ibm.com>
6 import re
8 from XmTestLib import *
10 status, output = traceCommand("xm create")
11 eyecatcher = "Error:"
12 where = output.find(eyecatcher)
13 if status == 0:
14 FAIL("xm create returned invalid %i != 0" % status)
15 elif where == -1:
16 FAIL("xm create failed to report error on missing args")