ia64/xen-unstable

changeset 7685:40f3ce3516cb

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>
author emellor@leeni.uk.xensource.com
date Tue Nov 08 11:56:55 2005 +0100 (2005-11-08)
parents 464e03b08f65
children f79854882e1f
files tools/xm-test/tests/block-create/Makefile.am tools/xm-test/tests/create/11_create_concurrent_pos.py tools/xm-test/tests/create/12_create_concurrent_stress_pos.py tools/xm-test/tests/help/Makefile.am tools/xm-test/tests/list/06_list_nonroot.py tools/xm-test/tests/memset/Makefile.am tools/xm-test/tests/unpause/01_unpause_basic_pos.py
line diff
     1.1 --- a/tools/xm-test/tests/block-create/Makefile.am	Tue Nov 08 11:35:25 2005 +0100
     1.2 +++ b/tools/xm-test/tests/block-create/Makefile.am	Tue Nov 08 11:56:55 2005 +0100
     1.3 @@ -12,10 +12,6 @@ TESTS = 01_block_attach_device_pos.test 
     1.4  
     1.5  DISABLED = 
     1.6  
     1.7 -XFAIL_TESTS = 07_block_attach_baddevice_neg.test \
     1.8 -	08_block_attach_bad_filedevice_neg.test
     1.9 -
    1.10 -
    1.11  EXTRA_DIST = $(TESTS) $(XFAIL_TESTS)
    1.12  
    1.13  TESTS_ENVIRONMENT=@TENV@
     2.1 --- a/tools/xm-test/tests/create/11_create_concurrent_pos.py	Tue Nov 08 11:35:25 2005 +0100
     2.2 +++ b/tools/xm-test/tests/create/11_create_concurrent_pos.py	Tue Nov 08 11:56:55 2005 +0100
     2.3 @@ -10,7 +10,7 @@ import random
     2.4  
     2.5  MIN_DOMS    = 10
     2.6  MAX_DOMS    = 50
     2.7 -MEM_PER_DOM = 16
     2.8 +MEM_PER_DOM = 24
     2.9  
    2.10  domains = []
    2.11  console = []
     3.1 --- a/tools/xm-test/tests/create/12_create_concurrent_stress_pos.py	Tue Nov 08 11:35:25 2005 +0100
     3.2 +++ b/tools/xm-test/tests/create/12_create_concurrent_stress_pos.py	Tue Nov 08 11:56:55 2005 +0100
     3.3 @@ -7,7 +7,7 @@ from XmTestLib import *
     3.4  
     3.5  import time
     3.6  
     3.7 -DOMS=2
     3.8 +DOMS=5
     3.9  MEM=32
    3.10  DUR=60
    3.11  
     4.1 --- a/tools/xm-test/tests/help/Makefile.am	Tue Nov 08 11:35:25 2005 +0100
     4.2 +++ b/tools/xm-test/tests/help/Makefile.am	Tue Nov 08 11:56:55 2005 +0100
     4.3 @@ -4,7 +4,8 @@ TESTS = 01_help_basic_pos.test \
     4.4  	02_help_basic_neg.test \
     4.5  	03_help_badparm_neg.test \
     4.6  	04_help_long_pos.test \
     4.7 -	05_help_nonroot_pos.test
     4.8 +	05_help_nonroot_pos.test \
     4.9 +	06_help_allcmds.test
    4.10  
    4.11  XFAIL_TESTS = 
    4.12  
     5.1 --- a/tools/xm-test/tests/list/06_list_nonroot.py	Tue Nov 08 11:35:25 2005 +0100
     5.2 +++ b/tools/xm-test/tests/list/06_list_nonroot.py	Tue Nov 08 11:56:55 2005 +0100
     5.3 @@ -2,7 +2,6 @@
     5.4  
     5.5  # Copyright (C) International Business Machines Corp., 2005
     5.6  # Copyright (C) XenSource Ltd, 2005
     5.7 -# Author: Woody Marvel <marvel@us.ibm.com>
     5.8  # Author: Ewan Mellor <ewan@xensource.com>
     5.9  
    5.10  from XmTestLib import *
     6.1 --- a/tools/xm-test/tests/memset/Makefile.am	Tue Nov 08 11:35:25 2005 +0100
     6.2 +++ b/tools/xm-test/tests/memset/Makefile.am	Tue Nov 08 11:56:55 2005 +0100
     6.3 @@ -2,8 +2,8 @@ SUBDIRS =
     6.4  
     6.5  TESTS = 01_memset_basic_pos.test	\
     6.6          02_memset_badparm_neg.test 	\
     6.7 -	04_memset_smallmem_pos.test     \
     6.8 -	03_memset_random_pos.test
     6.9 +	03_memset_random_pos.test	\
    6.10 +	04_memset_smallmem_pos.test     	
    6.11  
    6.12  XFAIL_TESTS = 
    6.13  
     7.1 --- a/tools/xm-test/tests/unpause/01_unpause_basic_pos.py	Tue Nov 08 11:35:25 2005 +0100
     7.2 +++ b/tools/xm-test/tests/unpause/01_unpause_basic_pos.py	Tue Nov 08 11:56:55 2005 +0100
     7.3 @@ -74,14 +74,15 @@ except ConsoleError, e:
     7.4      FAIL(str(e))
     7.5  try:
     7.6      run = console.runCmd("ls")
     7.7 -    #If we get here, console attached to paused domain (unexpected)
     7.8 -    FAIL("console attached to supposedly paused domain")
     7.9  except ConsoleError, e:
    7.10      pass
    7.11  
    7.12  # Close the console
    7.13  console.closeConsole()
    7.14  
    7.15 +if run["return"] != 0:
    7.16 +    FAIL("console failed to attach to supposedly unpaused domain")
    7.17 +
    7.18  # Stop the domain (nice shutdown)
    7.19  domain.stop()
    7.20