generic/590: add _require_xfs_io_command "falloc"
authorLuis Henriques <lhenriques@suse.com>
Mon, 9 Dec 2019 17:14:52 +0000 (17:14 +0000)
committerEryu Guan <guaneryu@gmail.com>
Wed, 11 Dec 2019 14:49:12 +0000 (22:49 +0800)
commit5ddc9604bd2d343e8a5e5a5565b8c7641d8d3446
treeb70f3ec83b0d86b595cb0a31351a44a8e1235aca
parent568920df38f4d050dbf44cdd0b33ae4b6a969dd6
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 <lhenriques@suse.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/590