From: fsgqa Date: Thu, 9 May 2002 07:24:12 +0000 (+0000) Subject: updates for supporting blocksizes smaller than the pagesize. X-Git-Tag: v1.1.0~1111 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=79e28ebae8965cf3fa0da035c86124ade01a043b;p=users%2Fhch%2Fxfstests-dev.git updates for supporting blocksizes smaller than the pagesize. --- diff --git a/018 b/018 index a700d42a1..b8e5564c1 100755 --- a/018 +++ b/018 @@ -52,6 +52,7 @@ status=0 # success is the default! _cleanup() { + rm -f $tmp.* echo "*** unmount" umount $SCRATCH_MNT 2>/dev/null } @@ -98,7 +99,6 @@ _filter_logprint() s/1st: *[0-9][0-9]* *last: *[0-9][0-9]* *cnt: *[0-9][0-9]* *freeblks: *[0-9][0-9]* *longest: *[0-9][0-9]*/1st: last: cnt: freeblks: longest:/; s/^uuid: *[0-9a-f-][0-9a-f-]* *format: *.*$/uuid: format: /; ' - } _check_log() @@ -118,14 +118,19 @@ _require_scratch echo "*** init FS" -rm -f $seq.out $seq.full +touch $seq.out umount $SCRATCH_DEV >/dev/null 2>&1 _full "mkfs" -mkfs_xfs -lsize=2000b $SCRATCH_DEV >>$seq.full 2>&1 \ - || _fail "mkfs failed" +mkfs_xfs -lsize=2000b $SCRATCH_DEV | _filter_mkfs 2>$tmp.mkfs +source $tmp.mkfs +[ $dbsize -eq 4096 ] \ + || _notrun "Log print test tailored to 4K blocks (currently using $dbsize)" + +rm -f $seq.out $seq.full + _full " mount" -mount -t xfs $SCRATCH_DEV $SCRATCH_MNT >>$seq.full 2>&1 \ +mount -t xfs $SCRATCH_DEV $SCRATCH_MNT >>$seq.full 2>&1 \ || _fail "mount failed" _setup_seq_out diff --git a/018.grpquota b/018.grpquota index 424f3a220..82ba340df 100755 --- a/018.grpquota +++ b/018.grpquota @@ -1,5 +1,11 @@ QA output created by 018 *** init FS +meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks +data = bsize=XXX blocks=XXX, imaxpct=PCT + = sunit=XXX swidth=XXX, unwritten=X +naming =VERN bsize=XXX +log =LDEV bsize=XXX blocks=XXX +realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX ### xfs_logprint output ### xfs_logprint: data device: diff --git a/018.noquota b/018.noquota index 1e7547bbe..5f433ea77 100755 --- a/018.noquota +++ b/018.noquota @@ -1,5 +1,11 @@ QA output created by 018 *** init FS +meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks +data = bsize=XXX blocks=XXX, imaxpct=PCT + = sunit=XXX swidth=XXX, unwritten=X +naming =VERN bsize=XXX +log =LDEV bsize=XXX blocks=XXX +realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX ### xfs_logprint output ### xfs_logprint: data device: diff --git a/018.ugquota b/018.ugquota index 9d589c980..39b406e29 100755 --- a/018.ugquota +++ b/018.ugquota @@ -1,5 +1,11 @@ QA output created by 018 *** init FS +meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks +data = bsize=XXX blocks=XXX, imaxpct=PCT + = sunit=XXX swidth=XXX, unwritten=X +naming =VERN bsize=XXX +log =LDEV bsize=XXX blocks=XXX +realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX ### xfs_logprint output ### xfs_logprint: data device: diff --git a/018.usrquota b/018.usrquota index fb5af8b90..d0fe8c969 100755 --- a/018.usrquota +++ b/018.usrquota @@ -1,5 +1,11 @@ QA output created by 018 *** init FS +meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks +data = bsize=XXX blocks=XXX, imaxpct=PCT + = sunit=XXX swidth=XXX, unwritten=X +naming =VERN bsize=XXX +log =LDEV bsize=XXX blocks=XXX +realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX ### xfs_logprint output ### xfs_logprint: data device: diff --git a/check b/check index 926000a86..b96115da0 100755 --- a/check +++ b/check @@ -158,7 +158,7 @@ timestamp=false if [ ! -z "$MKFS_OPTIONS" ] then - echo "check: \$MKFS_OPTIONS specified - \"$MKFS_OPTIONS\"" + echo "check: \$MKFS_OPTIONS specified -- \"$MKFS_OPTIONS\"" umount $SCRATCH_DEV 2>/dev/null # call the overridden mkfs.xfs - make sure the FS is built # the same as we'll create it later. @@ -173,7 +173,7 @@ fi if [ ! -z "$MOUNT_OPTIONS" ] then - echo "check: \$MOUNT_OPTIONS specified - \"$MOUNT_OPTIONS\"" + echo "check: \$MOUNT_OPTIONS specified -- \"$MOUNT_OPTIONS\"" umount $TEST_DEV # call the overridden mount - make sure the FS starts as # the same as we'll set it later.