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 _begin_fstest deprecated # log logprint quota
12 # Import common functions.
17 # real QA test starts here
20 # Override the default cleanup function.
27 _scratch_unmount 2>/dev/null
36 _scratch_unmount >/dev/null 2>&1
38 # do a simple quota test to ensure DQUOT data is happening
39 export MOUNT_OPTIONS="-o quota,gquota"
42 _scratch_mkfs_xfs "-l version=1" 1>/dev/null 2>&1
44 $here/src/feature -u $SCRATCH_DEV || _notrun "No quota support at mount time"
47 _mkfs_log "-l version=1"
50 _print_transaction_inode 2
51 _cmp_output $seq.ugquota.trans_inode $filtered
53 # got thru it all so we may have success