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
32 _scratch_unmount 2>/dev/null
34 trap "_cleanup; exit \$status" 0 1 2 3 15
37 rm -f $seqres.full $tmp.*
43 _scratch_unmount >/dev/null 2>&1
45 # do a simple quota test to ensure DQUOT data is happening
46 export MOUNT_OPTIONS="-o quota,gquota"
49 _scratch_mkfs_xfs "-l version=1" 1>/dev/null 2>&1
51 $here/src/feature -u $SCRATCH_DEV || _notrun "No quota support at mount time"
54 _mkfs_log "-l version=1"
57 _print_transaction_inode 2
58 _cmp_output $seq.ugquota.trans_inode $filtered
60 # got thru it all so we may have success