4 # To test out logprint with quotas
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2003 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
26 # real QA test starts here
28 _supported_os IRIX Linux
36 umount $SCRATCH_MNT 2>/dev/null
38 trap "_cleanup; exit \$status" 0 1 2 3 15
41 rm -f $seq.full $tmp.*
47 umount $SCRATCH_DEV >/dev/null 2>&1
50 # do a simple quota test to ensure DQUOT data is happening
51 export MKFS_OPTIONS="-l version=1"
52 export MOUNT_OPTIONS="-o quota,gquota"
54 if [ "$HOSTOS" = "IRIX" ]; then
61 _scratch_mkfs_xfs 1>/dev/null 2>&1
63 src/feature -u $SCRATCH_DEV || _notrun "No quota support at mount time"
69 _print_transaction_inode $start
70 _cmp_output $seq.ugquota.trans_inode $filtered
72 # got thru it all so we may have success