Tests for cloned device verification should pass on Btrfs, XFS, and ext4. We need 2 scratch devices, allow SCRATCH_DEV_POOL for other FSs. Signed-off-by: Anand Jain --- common/rc | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/common/rc b/common/rc index 92cb69820311..9db8b3e88996 100644 --- a/common/rc +++ b/common/rc @@ -3990,18 +3990,9 @@ _require_scratch_dev_pool() ndevs=$1 fi - # btrfs test case needs ndevs or more scratch_dev_pool; other FS not sure - # so fail it - case $FSTYP in - btrfs) - if [ "`echo $SCRATCH_DEV_POOL|wc -w`" -lt $ndevs ]; then - _notrun "btrfs and this test needs $ndevs or more disks in SCRATCH_DEV_POOL" - fi - ;; - *) - _notrun "dev_pool is not supported by fstype \"$FSTYP\"" - ;; - esac + if [ "`echo $SCRATCH_DEV_POOL|wc -w`" -lt $ndevs ]; then + _notrun "This test needs $ndevs or more disks in SCRATCH_DEV_POOL" + fi for i in $SCRATCH_DEV_POOL; do if [ "`_is_block_dev "$i"`" = "" ]; then -- 2.43.0