mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
test: Skip the topology test if setting up scsi_debug fails.
This commit is contained in:
parent
deea86c7f4
commit
57460fe5a8
@ -53,7 +53,8 @@ PER_DEV_SIZE=34
|
||||
DEV_SIZE=$(($NUM_DEVS*$PER_DEV_SIZE))
|
||||
|
||||
# Test that kernel supports topology
|
||||
aux prepare_scsi_debug_dev $DEV_SIZE
|
||||
aux prepare_scsi_debug_dev $DEV_SIZE || skip
|
||||
|
||||
if [ ! -e /sys/block/$(basename $(cat SCSI_DEBUG_DEV))/alignment_offset ] ; then
|
||||
aux cleanup_scsi_debug_dev
|
||||
skip
|
||||
|
Loading…
Reference in New Issue
Block a user