]> sourceware.org Git - lvm2.git/commitdiff
tests: skip test if scsi_debug is not available
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 Nov 2019 15:07:20 +0000 (16:07 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 Nov 2019 15:31:12 +0000 (16:31 +0100)
test/shell/large-physical-sector-size.sh

index 891f40962c36c9a9c073b989899b4e07fe0f29a0..d076d862cd26cd3fcc9bed3bc44855b296d97b34 100644 (file)
@@ -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"
 
This page took 0.036233 seconds and 5 git commands to generate.