fix broken mkfs usage from previous checkin.

This commit is contained in:
Nathan Scott
2002-01-21 20:47:24 +00:00
parent 36d5db422b
commit d1eec2dcb4
2 changed files with 7 additions and 6 deletions
+5 -5
View File
@@ -107,25 +107,25 @@ echo "=== version 1, one entry"
mkfs_xfs $MKFSV1 | _filter_mkfs >/dev/null 2>&1 mkfs_xfs $MKFSV1 | _filter_mkfs >/dev/null 2>&1
_check_repair _check_repair
echo "=== version 2, one entry (shortform)" echo "=== version 2, one entry (shortform)"
mkfs $MKFSV2 | _filter_mkfs >/dev/null 2>&1 mkfs_xfs $MKFSV2 | _filter_mkfs >/dev/null 2>&1
_check_repair _check_repair
# block-form root directory & repeat # block-form root directory & repeat
_create_proto 20 _create_proto 20
echo "=== version 1, twenty entries" echo "=== version 1, twenty entries"
mkfs $MKFSV1 | _filter_mkfs >/dev/null 2>&1 mkfs_xfs $MKFSV1 | _filter_mkfs >/dev/null 2>&1
_check_repair _check_repair
echo "=== version 2, twenty entries (block form)" echo "=== version 2, twenty entries (block form)"
mkfs $MKFSV2 | _filter_mkfs >/dev/null 2>&1 mkfs_xfs $MKFSV2 | _filter_mkfs >/dev/null 2>&1
_check_repair _check_repair
# leaf-form root directory & repeat # leaf-form root directory & repeat
_create_proto 1000 _create_proto 1000
echo "=== version 1, thousand entries" echo "=== version 1, thousand entries"
mkfs $MKFSV1 | _filter_mkfs >/dev/null 2>&1 mkfs_xfs $MKFSV1 | _filter_mkfs >/dev/null 2>&1
_check_repair _check_repair
echo "=== version 2, thousand entries (leaf form)" echo "=== version 2, thousand entries (leaf form)"
mkfs $MKFSV2 | _filter_mkfs >/dev/null 2>&1 mkfs_xfs $MKFSV2 | _filter_mkfs >/dev/null 2>&1
_check_repair _check_repair
# success, all done # success, all done
+2 -1
View File
@@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# XFS QA Test No. 065 # XFS QA Test No. 065
# $Id: 1.1 $ # $Id: 065,v 1.2 2002/01/17 07:30:09 tes Exp $
# #
# Testing incremental dumps and cumulative restores with # Testing incremental dumps and cumulative restores with
# "adding, deleting, renaming, linking, and unlinking files and # "adding, deleting, renaming, linking, and unlinking files and
@@ -79,6 +79,7 @@ _my_ls_filter()
# too much hassle to get output matching with quotas turned on # too much hassle to get output matching with quotas turned on
# so don't run it # so don't run it
# #
umount $SCRATCH_DEV 2>/dev/null
mount -t xfs $SCRATCH_DEV $SCRATCH_MNT mount -t xfs $SCRATCH_DEV $SCRATCH_MNT
$here/src/feature -U $SCRATCH_DEV && _notrun "do not run with user quotas" $here/src/feature -U $SCRATCH_DEV && _notrun "do not run with user quotas"
$here/src/feature -G $SCRATCH_DEV && _notrun "do not run with group quotas" $here/src/feature -G $SCRATCH_DEV && _notrun "do not run with group quotas"