ia64/xen-unstable

view tools/xm-test/tests/create/03_create_badparm_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: Li Ge <lge@us.ibm.com>
6 # Test description:
7 # Negative Test:
8 # Test for creating domain with non existent option in the command line.
9 # Verify fail.
11 import re
13 from XmTestLib import *
15 status, output = traceCommand("xm create -x")
16 eyecatcher = "Error:"
17 where = output.find(eyecatcher)
18 if where == -1:
19 FAIL("xm create failed to report error on bad arg")