allow mkfs arguments to be passed from the env for testing multiple

block sizes.
This commit is contained in:
Nathan Scott
2002-01-20 00:47:43 +00:00
parent a7d6e4ed5c
commit 36d5db422b
30 changed files with 56 additions and 33 deletions
+3 -3
View File
@@ -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