ia64/xen-unstable

view tools/xm-test/tests/create/02_create_noparm_neg.py @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
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")