2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
7 # To test out logprint with quotas
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
17 # get standard environment, filters and checks
23 # real QA test starts here
33 _scratch_unmount 2>/dev/null
35 trap "_cleanup; exit \$status" 0 1 2 3 15
38 rm -f $seqres.full $tmp.*
44 _scratch_unmount >/dev/null 2>&1
46 # do a simple quota test to ensure DQUOT data is happening
47 export MOUNT_OPTIONS="-o quota,gquota"
50 _scratch_mkfs_xfs "-l version=1" 1>/dev/null 2>&1
52 src/feature -u $SCRATCH_DEV || _notrun "No quota support at mount time"
55 _mkfs_log "-l version=1"
58 _print_transaction_inode 2
59 _cmp_output $seq.ugquota.trans_inode $filtered
61 # got thru it all so we may have success