]> www.infradead.org Git - users/sagi/blktests.git/commitdiff
block/001: require sd_mod and sr_mod
authorOmar Sandoval <osandov@fb.com>
Wed, 16 Aug 2017 05:34:30 +0000 (22:34 -0700)
committerOmar Sandoval <osandov@fb.com>
Wed, 16 Aug 2017 05:39:44 +0000 (22:39 -0700)
This test doesn't do anything interesting without those.

Signed-off-by: Omar Sandoval <osandov@fb.com>
tests/block/001

index 2dac6a5e44c30f6d9154a1516363041b72b21fb1..4b11dbbd80163fd1ef68e2b0556dd05349d0126d 100755 (executable)
@@ -25,7 +25,7 @@ DESCRIPTION="stress device hotplugging"
 TIMED=1
 
 requires() {
-       _have_scsi_debug
+       _have_scsi_debug && _have_module sd_mod && _have_module sr_mod
 }
 
 stress_scsi_debug() {