mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-23 02:05:07 +03:00
tests: skip test if scsi_debug is not available
This commit is contained in:
parent
2cd30c0d44
commit
4ae481bb30
@ -22,7 +22,7 @@ LOGICAL_BLOCK_SIZE=4096
|
||||
# 4096 << 9 = 2MB physical block size
|
||||
PHYSICAL_BLOCK_SHIFT=9
|
||||
|
||||
aux prepare_scsi_debug_dev 256 sector_size=$LOGICAL_BLOCK_SIZE physblk_exp=$PHYSICAL_BLOCK_SHIFT
|
||||
aux prepare_scsi_debug_dev 256 sector_size=$LOGICAL_BLOCK_SIZE physblk_exp=$PHYSICAL_BLOCK_SHIFT || skip
|
||||
|
||||
check sysfs "$(< SCSI_DEBUG_DEV)" queue/logical_block_size "$LOGICAL_BLOCK_SIZE"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user