Make some log recover tests work on other platforms -

don't print out $SCRATCH_MNT. Also test 64K v2 logs.
don't output $SCRATCH_MNT which varies on hosts
This commit is contained in:
ptools
2004-02-20 02:47:33 +00:00
parent 692a2e5e51
commit c494a18ffc
4 changed files with 477 additions and 52 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#! /bin/sh
# XFS QA Test No. 084
# XFS QA Test No. 085
#
# To test log replay by shutdown of file system
# This is the first simple initial test to ensure that
@@ -124,7 +124,7 @@ grep recovery $tmp.comm |\
sed -e 's/.*Start/Start/' -e 's/system:.*/system/' \
-e 's/.*End/End/'
echo "ls $SCRATCH_MNT"
echo "ls SCRATCH_MNT"
ls $SCRATCH_MNT
echo "unmount"
+1 -1
View File
@@ -10,7 +10,7 @@ mount with replay
check syslog for recovery...
Starting XFS recovery on filesystem
Ending XFS recovery on filesystem
ls /mnt/scratch
ls SCRATCH_MNT
00
01
02
+3 -10
View File
@@ -65,14 +65,7 @@ cat >$tmp.seq.params <<EOF
-lversion=2 -ologbsize=32k
-lversion=2,su=4096 -ologbsize=32k
-lversion=2,su=32768 -ologbsize=32k
#
# expect following line to fail
#
-lversion=2,su=36864 -ologbsize=32k
#
# following is not a power of 2 BBs
#
-lversion=2,su=5120 -ologbsize=32k
-lversion=2,su=32768 -ologbsize=64k
EOF
# Do the work for various log params which
@@ -123,7 +116,7 @@ for s in sync nosync ; do
fi
# check before on what FS should look like
_echofull "ls $SCRATCH_MNT"
_echofull "ls SCRATCH_MNT"
ls $SCRATCH_MNT
_echofull "godown"
@@ -141,7 +134,7 @@ for s in sync nosync ; do
|| _fail "mount failed: $MOUNT_OPTIONS"
# check on what FS looks like after log recovery
_echofull "ls $SCRATCH_MNT"
_echofull "ls SCRATCH_MNT"
ls $SCRATCH_MNT
_echofull "unmount"
+471 -39
View File
File diff suppressed because it is too large Load Diff