Commit Graph
5 Commits
Author SHA1 Message Date
emellor@leeni.uk.xensource.com f1f5c0ba12 Review checks for Error string when checking that bad arguments are handled
correctly.  Many checks were looking using output.find("Error") > 1, which is
incorrect, as we do not guarantee that the word "Error" will be first in the
output (never mind the fact that strings are indexed from 0).

All these checks have been changed to compare against -1.  In particular, this
should fix the failure of create_noparm_neg and create_badparm_neg on a machine
with the /etc/xen/xmdefconfig file in place, as xm create issues the
Using config file "/etc/xen/xmdefconfig" diagnostic before reporting the error.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-16 12:36:47 +01:00
emellor@leeni.uk.xensource.com a86e94e917 Added file missed on commit of earlier patch by Dan Smith. 2005-11-08 12:30:38 +01:00
emellor@leeni.uk.xensource.com f3cac18aac This patch removes all of the auto-generated files that were checked
in with xm-test in changeset 7634.  It also adds an "autogen" script
that re-creates these files.

The auto-generated files really don't need to be in the tree, as they
should be generated by the user on the machine where they plan to run
xm-test.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 12:28:19 +01:00
emellor@leeni.uk.xensource.com ad7f6c5250 1. Unmark the 07 and 08 tests of block_attach as XFAIL
2. Change the MEM_PER_DOM amount in 11_create_concurrent to 24MB, so
   that the test will run on x86_64.
3. Increase the number of DomUs created in 12_create_concurrent to 5
4. Fix a logic error in 01_unpause
5. Add a test 06_help that checks all xm commands with 0-10 arguments
   to make sure none of them traceback with varying argument counts.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 11:56:55 +01:00
emellor@leeni.uk.xensource.com 3ec891fe7b Wholesale import of xm-test 0.4.0.
This is not yet integrated with the rest of the Xen build system.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:36:16 +01:00