1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

tests: skips on unsupported systems

This commit is contained in:
Zdenek Kabelac 2014-05-21 16:48:06 +02:00
parent 092659644a
commit 8db67d2aff

View File

@ -17,10 +17,13 @@
DEV_SIZE=32 DEV_SIZE=32
# check we have thinp support compiled in
aux have_thin 1 0 0 || skip
aux prepare_profiles "thin-performance" aux prepare_profiles "thin-performance"
# Create scsi debug dev with sector size of 4096B and 1MiB optimal_io_size # Create scsi debug dev with sector size of 4096B and 1MiB optimal_io_size
aux prepare_scsi_debug_dev $DEV_SIZE sector_size=4096 opt_blks=256 aux prepare_scsi_debug_dev $DEV_SIZE sector_size=4096 opt_blks=256 || skip
aux prepare_pvs 1 $DEV_SIZE aux prepare_pvs 1 $DEV_SIZE
vgcreate $vg "$dev1" vgcreate $vg "$dev1"