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:
@@ -98,13 +98,13 @@ EOF
|
||||
#
|
||||
_require_scratch
|
||||
|
||||
MKFSV1="-t xfs -f -p $tmp.proto -n version=1 $SCRATCH_DEV"
|
||||
MKFSV2="-t xfs -f -p $tmp.proto -n version=2 $SCRATCH_DEV"
|
||||
MKFSV1="-f -p $tmp.proto -n version=1 $SCRATCH_DEV"
|
||||
MKFSV2="-f -p $tmp.proto -n version=2 $SCRATCH_DEV"
|
||||
|
||||
# sanity test - default + one root directory entry
|
||||
_create_proto 0
|
||||
echo "=== version 1, one entry"
|
||||
mkfs $MKFSV1 | _filter_mkfs >/dev/null 2>&1
|
||||
mkfs_xfs $MKFSV1 | _filter_mkfs >/dev/null 2>&1
|
||||
_check_repair
|
||||
echo "=== version 2, one entry (shortform)"
|
||||
mkfs $MKFSV2 | _filter_mkfs >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user