From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Breeds Subject: [PATCH 0/3][TOOLS][XM-TEST] Update block tests to use xvd rather than SCSI or IDE Date: Mon, 30 Oct 2006 16:38:58 +1100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ppc-devel-bounces@lists.xensource.com Errors-To: xen-ppc-devel-bounces@lists.xensource.com To: Xen-Devel Cc: XenPPC-Devel List-Id: xen-devel@lists.xenproject.org Hello All, This patch Updates all the block specific tests in xm-test to use the Xen Virtual Block Devices rather than overriding the SCSI or IDE subsystems. It also cleans up some whitespace problems (Which looking back I should have done in a separate patchset). The last patch (3/3) bumps the version number of xm-test to 1.1, as these new block tests will certainly fail with older initrd's due to the lack of xvd device nodes in the initrd. I've tested these patches with no regressions on x86, and a number of improvements on PPC. Signed-off-by: Tony Breeds --- tools/xm-test/configure.ac | 2 tools/xm-test/ramdisk/README-XenSource-initrd-1.1-img | 45 ++++++++++ tools/xm-test/ramdisk/patches/buildroot/add_xvd_devices.patch | 13 ++ tools/xm-test/tests/block-create/01_block_attach_device_pos.py | 10 +- tools/xm-test/tests/block-create/02_block_attach_file_device_pos.py | 8 - tools/xm-test/tests/block-create/04_block_attach_device_repeatedly_pos.py | 16 +-- tools/xm-test/tests/block-create/05_block_attach_and_dettach_device_repeatedly_pos.py | 18 ++-- tools/xm-test/tests/block-create/06_block_attach_baddomain_neg.py | 8 - tools/xm-test/tests/block-create/07_block_attach_baddevice_neg.py | 14 +-- tools/xm-test/tests/block-create/08_block_attach_bad_filedevice_neg.py | 16 +-- tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py | 44 ++++----- tools/xm-test/tests/block-create/10_block_attach_dettach_multiple_devices.py | 30 +++--- tools/xm-test/tests/block-create/11_block_attach_shared_dom0.py | 2 tools/xm-test/tests/block-create/12_block_attach_shared_domU.py | 2 tools/xm-test/tests/block-destroy/01_block-destroy_btblock_pos.py | 8 - tools/xm-test/tests/block-destroy/02_block-destroy_rtblock_pos.py | 8 - tools/xm-test/tests/block-destroy/04_block-destroy_nonattached_neg.py | 2 tools/xm-test/tests/block-destroy/05_block-destroy_byname_pos.py | 8 - tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py | 10 +- tools/xm-test/tests/block-integrity/01_block_device_read_verify.py | 4 tools/xm-test/tests/block-integrity/02_block_device_write_verify.py | 4 tools/xm-test/tests/block-list/01_block-list_pos.py | 6 - tools/xm-test/tests/block-list/02_block-list_attachbd_pos.py | 6 - tools/xm-test/tests/block-list/03_block-list_anotherbd_pos.py | 10 +- tools/xm-test/tests/block-list/06_block-list_checkremove_pos.py | 24 ++--- 25 files changed, 187 insertions(+), 131 deletions(-)