Skip to contentSkip to conversation

master - tests: skip with fail of first prepare_scsi

PATCH Zdenek Kabelac 1 participant 1 message Sep 19, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a1074da20d309cf07be472c82a060e088f78127e
Commit:        a1074da20d309cf07be472c82a060e088f78127e
Parent:        e556c7b7c641c78f7bdd94120d6e79860a6220aa
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Sep 19 23:03:06 2020 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sat Sep 19 23:03:06 2020 +0200

tests: skip with fail of first prepare_scsi

---
 test/shell/writecache-blocksize.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
test/shell/writecache-blocksize.sh +2 -2
index 964ee205c..3685fdd05 100644
@@ -137,7 +137,7 @@ _run_test() {
 }
 
 # scsi_debug devices with 512 LBS 512 PBS
-aux prepare_scsi_debug_dev 256
+aux prepare_scsi_debug_dev 256 || skip
 aux prepare_devs 2 64
 
 # Tests with fs block sizes require a libblkid version that shows BLOCK_SIZE
@@ -160,7 +160,7 @@ aux cleanup_scsi_debug_dev
 
 
 # lbs=512, pbs=4096
-aux prepare_scsi_debug_dev 256 sector_size=512 physblk_exp=3 || skip
+aux prepare_scsi_debug_dev 256 sector_size=512 physblk_exp=3
 aux prepare_devs 2 64
 
 _check_env "512" "4096"