5 # Test out resetting of sb_qflags when mounting with no quotas after
6 # having mounted with quotas.
8 #-----------------------------------------------------------------------
9 # Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
10 #-----------------------------------------------------------------------
13 owner=fsgqa@snap.melbourne.sgi.com
16 echo "QA output created by $seq"
20 status=1 # failure is the default!
21 trap "_cleanup; exit \$status" 0 1 2 3 15
29 # get standard environment, filters and checks
34 # real QA test starts here
37 _supported_os IRIX Linux
42 mkfs.xfs -f $SCRATCH_DEV >/dev/null 2>&1
43 mount -o uquota $SCRATCH_DEV $SCRATCH_MNT
45 xfs_db -r -c sb -c print $SCRATCH_DEV | grep qflags
46 mount $SCRATCH_DEV $SCRATCH_MNT
48 xfs_db -r -c sb -c print $SCRATCH_DEV | grep qflags