2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
7 # xfs_logprint test - test v2 logs of different LR sizes
11 _begin_fstest deprecated # log logprint v2log
13 # Import common functions.
17 # Override the default cleanup function.
23 _scratch_unmount 2>/dev/null
26 # real QA test starts here
33 _scratch_unmount >/dev/null 2>&1
35 cat >$tmp.seq.params <<EOF
37 version=1 logbsize=32k
38 version=2 logbsize=32k
39 version=2 logbsize=64k
40 version=2 logbsize=128k
41 version=2 logbsize=256k
46 # do the work for various log params which
47 # should not effect the data content of the log
51 if [ "$mkfs" = "#" ]; then
54 export MOUNT_OPTIONS="-o noalign,$mnt"
60 _cmp_op_output $seqfull.op $filtered
62 _print_transaction_inode $start_blk
63 _cmp_output $seqfull.trans_inode $filtered
65 _print_transaction_buf $start_blk
66 _cmp_output $seqfull.trans_buf $filtered
69 # got thru it all so we may have success