generic/590: add _require_xfs_io_command "falloc"
PATCH 1/1 generic/590: add _require_xfs_io_command "falloc"
Without this check the test will fail with message:
fallocate: Operation not supported
Instead, with this _require_xfs_io_command, the test will be skipped instead if falloc isn't supported.
Signed-off-by Luis Henriques <[email protected]>
--- tests/generic/590 | 1 + 1 file changed, 1 insertion(+)
tests/generic/590 +1 -0
@@ -34,6 +34,7 @@ rm -f $seqres.full _supported_fs generic _supported_os Linux _require_scratch_nocheck +_require_xfs_io_command "falloc" maxextlen=$((0x1fffff)) bs=4096
Quoted 6 lines · Luis Henriques
Without this check the test will fail with message:
fallocate: Operation not supported
Instead, with this
_require_xfs_io_command, the test will be skipped instead if falloc isn't supported.
Thanks, I missed this.
Reviewed-by Omar Sandoval <[email protected]>
Quoted 17 lines
Signed-off-by Luis Henriques <[email protected]>--- tests/generic/590 | 1 + 1 file changed, 1 insertion(+)tests/generic/590 +1
-0@@ -34,6 +34,7 @@ rm -f $seqres.full _supported_fs generic _supported_os Linux _require_scratch_nocheck +_require_xfs_io_command "falloc" maxextlen=$((0x1fffff)) bs=4096