mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
allow mkfs arguments to be passed from the env for testing multiple
block sizes.
This commit is contained in:
@@ -63,7 +63,7 @@ FSSTRESS_AVOID="-f resvsp=0 -f unresvsp=0"
|
||||
|
||||
export AWK_PROG PS_HAVE_BSD PS_ALL_FLAGS PLATFORM
|
||||
|
||||
# we override mount so we can specify mount options
|
||||
# we override mount and mkfs.xfs so we can specify extra options
|
||||
|
||||
mount()
|
||||
{
|
||||
@@ -84,6 +84,11 @@ mount()
|
||||
esac
|
||||
}
|
||||
|
||||
mkfs_xfs()
|
||||
{
|
||||
/sbin/mkfs.xfs $* $MKFS_OPTIONS
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
_get_pids_by_name()
|
||||
@@ -606,7 +611,7 @@ then
|
||||
|
||||
fi
|
||||
|
||||
# check for some required biunaries on our $PATH
|
||||
# check for some required binaries on our $PATH
|
||||
#
|
||||
for exec in mkfs.xfs xfs_logprint xfs_check xfs_repair xfs_db
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user