[PATCH blktests] tests/block: add the missing _have_fio check for block/029 block/031

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Yi Zhang <yi.zhang@xxxxxxxxxx>
---
 tests/block/029 | 2 +-
 tests/block/031 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/block/029 b/tests/block/029
index dbb582e..0c4fe08 100755
--- a/tests/block/029
+++ b/tests/block/029
@@ -11,7 +11,7 @@ DESCRIPTION="trigger blk_mq_update_nr_hw_queues()"
 QUICK=1
 
 requires() {
-	_have_null_blk
+	_have_fio && _have_null_blk
 }
 
 modify_nr_hw_queues() {
diff --git a/tests/block/031 b/tests/block/031
index b6927cf..cb4ba67 100755
--- a/tests/block/031
+++ b/tests/block/031
@@ -11,7 +11,7 @@ DESCRIPTION="do IO on null-blk with a host tag set"
 TIMED=1
 
 requires() {
-	_have_null_blk && _have_module_param null_blk shared_tag_bitmap
+	_have_fio && _have_null_blk && _have_module_param null_blk shared_tag_bitmap
 }
 
 test() {
-- 
2.21.3




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux