generic/564: fix copy_range -f availability test
[xfstests-dev.git] / common / rc
index e0b087c10e8f1a0c5394dbb1a9423a032bef0bef..66c7fd4d7a6c4c09b6a7ab5a4f6f067d0ccf8cf7 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -2109,7 +2109,7 @@ _require_xfs_io_command()
                if [ "$param" == "-f" ]; then
                        # source file is the open destination file
                        testcopy=$testfile
-                       copy_opts="0 -d 4k"
+                       copy_opts="0 -d 4k -l 4k"
                fi
                $XFS_IO_PROG -F -f -c "pwrite 0 4k" $testfile > /dev/null 2>&1
                testio=`$XFS_IO_PROG -F -f -c "copy_range $param $copy_opts" $testcopy 2>&1`