[PATCH blktests] zbd/009: skip have_good_mkfs_btrfs when mkfs.btrfs not avaiable

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

 



tests/zbd/009: line 24: mkfs.btrfs: command not found
zbd/009 (test gap zone support with BTRFS)                   [not run]
    driver btrfs is not available
    mkfs.btrfs is not available

Signed-off-by: Yi Zhang <yi.zhang@xxxxxxxxxx>
---
 tests/zbd/009 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/zbd/009 b/tests/zbd/009
index c0ce1f2..6226d83 100755
--- a/tests/zbd/009
+++ b/tests/zbd/009
@@ -35,9 +35,8 @@ requires() {
 	_have_fio
 	_have_driver btrfs
 	_have_module_param scsi_debug zone_cap_mb
-	_have_program mkfs.btrfs
+	_have_program mkfs.btrfs && have_good_mkfs_btrfs
 	_have_module scsi_debug
-	have_good_mkfs_btrfs
 }
 
 test() {
-- 
2.34.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