ia64/xen-unstable

view tools/xm-test/tests/block-integrity/Makefile.am @ 10317:f99ba86ad96b

Block device write-verify test.

This test imports a ram disk device as a physical device into a domU.
The domU initialises the ram disk with data from /dev/urandom and
calculates the md5 checksum of the data (using tee as it is written so as to
avoid reading it back from the device which might potentially mask
problems).
The domU is stopped and the md5 checksum of the data on the device is
calculated by dom0. The test succeeds if the checksums match, indicating
that all the data written by domU was sucessfully committed to the
device.

This patch also enables tee in BusyBox on the ramdisk and increments the
xm-test version number to 0.8.0.

The patch also installs the block-integrity tests in the default test
set so they get executed.

Signed-off-by: Harry Butterworth <butterwo@uk.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Thu Jun 01 11:47:00 2006 +0100 (2006-06-01)
parents 9b11eeab4558
children
line source
2 SUBDIRS =
4 TESTS = 01_block_device_read_verify.test \
5 02_block_device_write_verify.test
7 XFAIL_TESTS =
9 EXTRA_DIST = $(TESTS) $(XFAIL_TESTS)
11 TESTS_ENVIRONMENT=@TENV@
13 %.test: %.py
14 cp $< $@
15 chmod +x $@
17 clean-local: am_config_clean-local
19 am_config_clean-local:
20 rm -f *test
21 rm -f *log
22 rm -f *~