mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
populate: add _require_populate_commands to check for tools
Back when I created common/populate, I thought it was sufficient to _require the tools that the populate functions need in the main file. This turned out to be a bit sloppy, so move them into a helper function and call it from everything that uses populate. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
7d8fc2aff3
commit
8eaf59b7c3
@@ -50,6 +50,7 @@ _supported_os Linux
|
||||
_require_scratch
|
||||
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
|
||||
_require_attrs
|
||||
_require_populate_commands
|
||||
_require_xfs_db_blocktrash_z_command
|
||||
test -z "${FUZZ_ARGS}" && FUZZ_ARGS="-n 8 -3"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user