generic/466: explicitly request $SCRATCH_DEV to be a block device

so "blockdev --getsize64 $SCRATCH_DEV" will succeed.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Hou Tao
2018-12-29 10:34:51 +08:00
committed by Eryu Guan
parent a6c53104a4
commit ff67bfc354
+1
View File
@@ -29,6 +29,7 @@ _cleanup()
_supported_os Linux
_supported_fs generic
_require_scratch_nocheck
_require_block_device $SCRATCH_DEV
rm -f $seqres.full