From: Hou Tao Date: Sat, 29 Dec 2018 02:34:49 +0000 (+0800) Subject: generic/019: require scratch device to be a block device X-Git-Tag: v2022.05.01~1301 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a6c53104a41ea364c23382a48fee5ab5196ec438;p=xfstests-dev.git generic/019: require scratch device to be a block device To ensure "blockdev --getsz $SCRATCH_DEV" will succeed. Signed-off-by: Hou Tao Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/generic/019 b/tests/generic/019 index 32db36fc..8e1c9331 100755 --- a/tests/generic/019 +++ b/tests/generic/019 @@ -22,6 +22,7 @@ status=1 # failure is the default! _supported_fs generic _supported_os Linux _require_scratch +_require_block_device $SCRATCH_DEV _require_fail_make_request SYSFS_BDEV=`_sysfs_dev $SCRATCH_DEV`