4 # xfs_logprint test - test v2 logs of different LR sizes
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
20 # get standard environment, filters and checks
30 umount $SCRATCH_MNT 2>/dev/null
32 trap "_cleanup; exit \$status" 0 1 2 3 15
34 # real QA test starts here
36 _supported_os IRIX Linux
38 rm -f $seq.full $tmp.*
42 # link correct .out file
43 _link_out_file $seq.op
47 umount $SCRATCH_DEV >/dev/null 2>&1
49 cat >$tmp.seq.params <<EOF
51 version=1 logbsize=32k
52 version=2 logbsize=32k
53 version=2 logbsize=64k
54 version=2 logbsize=128k
55 version=2 logbsize=256k
58 if [ "$HOSTOS" = "IRIX" ]; then
64 # do the work for various log params which
65 # should not effect the data content of the log
69 if [ "$mkfs" = "#" ]; then
72 export MOUNT_OPTIONS="-o noalign,$mnt"
78 _cmp_op_output $seq.op $filtered
80 _print_transaction_inode $start_blk
81 _cmp_output $seq.trans_inode $filtered
83 _print_transaction_buf $start_blk
84 _cmp_output $seq.trans_buf $filtered
87 # got thru it all so we may have success