add couple of v2 su cases

This commit is contained in:
ptools
2003-10-01 07:49:36 +00:00
parent f562507fab
commit 0664352cb8
2 changed files with 21 additions and 2 deletions
+4 -2
View File
@@ -56,7 +56,7 @@ _cleanup()
rm -f $tmp.* rm -f $tmp.*
if [ $status -eq 0 ]; then if [ $status -eq 0 ]; then
# don't keep these files around unless something went wrong # don't keep these files around unless something went wrong
rm -f $seq.trans* $seq.op* $seq.full rm -f $seq.trans* $seq.op*
fi fi
echo "*** unmount" echo "*** unmount"
umount $SCRATCH_MNT 2>/dev/null umount $SCRATCH_MNT 2>/dev/null
@@ -407,12 +407,14 @@ cat >$tmp.seq.params <<EOF
# it may no be the case in all QA environments where the LR # it may no be the case in all QA environments where the LR
# may be forced out early. # may be forced out early.
-lversion=2,su=4096 -ologbsize=32k 8 -lversion=2,su=4096 -ologbsize=32k 8
-lversion=2,su=32768 -ologbsize=32k 64
-lversion=2,su=36864 -ologbsize=32k 72 # expect mount to fail
EOF EOF
# do the work for various log params which # do the work for various log params which
# should not effect the data content of the log # should not effect the data content of the log
cat $tmp.seq.params \ cat $tmp.seq.params \
| while read mkfs mnt start | while read mkfs mnt start restofline
do do
if [ "$mkfs" != "#" ]; then if [ "$mkfs" != "#" ]; then
_mkfs_create_log $mkfs $mnt _mkfs_create_log $mkfs $mnt
+17
View File
@@ -60,5 +60,22 @@ data = bsize=XXX blocks=XXX, imaxpct=PCT
naming =VERN bsize=XXX naming =VERN bsize=XXX
log =LDEV bsize=XXX blocks=XXX log =LDEV bsize=XXX blocks=XXX
realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX
*** compare logprint: 018.noquota.op with 018.op.mnt-ologbsize=32k.mkfs-lversion=2,su=32768.filtered
*** compare logprint: 018.noquota.trans_inode with 018.trans_inode.mnt-ologbsize=32k.mkfs-lversion=2,su=32768.filtered
*** compare logprint: 018.noquota.trans_buf with 018.trans_buf.mnt-ologbsize=32k.mkfs-lversion=2,su=32768.filtered
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
mount failed: -ologbsize=32k
(see 018.full for details)
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
*** compare logprint: 018.ugquota.trans_inode with 018.trans_inode.mnt-ousrquota,grpquota.mkfs-lversion=1.filtered *** compare logprint: 018.ugquota.trans_inode with 018.trans_inode.mnt-ousrquota,grpquota.mkfs-lversion=1.filtered
*** unmount *** unmount