1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/test/lib
Zdenek Kabelac c5e2f08cf9 tests: add error_dev aux
Aux function to replace PV with specifically damaged device.
Usage:

   aux error_dev "$dev1" 8:32 96:8

Replaces from 8 sector 32 error 512b sectors
and from 96 sector next 8 sectors will fail on rw.
Rest of device is preserved.

For testing:
dd if="$dev1" of=x bs=512 count=104 conv=sync,noerror iflag=direct
2012-12-02 17:55:49 +01:00
..
aux.sh tests: add error_dev aux 2012-12-02 17:55:49 +01:00
check.sh Fix tests to accept extended attribute 2012-09-20 07:30:24 +02:00
get.sh Update test.sh check.sh utils.sh get.sh 2012-03-16 12:59:43 +00:00
harness.c TEST: When INTERACTIVE=1, allow scripts to control a TTY. 2012-10-08 20:35:29 +02:00
lvm-wrapper.sh Update aux.sh lvmwrapper 2012-03-16 12:59:02 +00:00
not.c Fix gcc warnings for missing headers and prototypes 2011-01-05 15:03:43 +00:00
test.sh Update testing scripts 2012-03-20 10:51:57 +00:00
utils.sh test: set LD_LIBRARY_PATH to all dirs with *.so 2012-11-14 13:05:55 -06:00