mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common: Use _require_xfs_io_command() instead of helpers
Number of helpers for checking xfs_io functionality is slowly growing. But it's as easy to simply use _require_xfs_io_command() directly and just specify the command we want to check. It will also avoid the need to create helper every time we need to check a new command in xfs_io. Remove all the helpers and use _require_xfs_io_command() in the tests. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
a841a6d0a8
commit
ce0aa2bc5c
+1
-1
@@ -59,7 +59,7 @@ _require_dm_flakey
|
||||
|
||||
# xfs_io is not required for this test, but it's the best way to verify
|
||||
# the test system supports fallocate() for allocation
|
||||
_require_xfs_io_falloc
|
||||
_require_xfs_io_command "falloc"
|
||||
|
||||
[ -x $here/src/fsync-tester ] || _notrun "fsync-tester not built"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user