From: Nathan Scott Date: Thu, 25 May 2006 06:13:27 +0000 (+0000) Subject: Dont hard code paths ni test 050, and fix common.quota macros on Debian setups. X-Git-Tag: v1.1.0~640 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cce5a421c8248fd0ddcc30fc5254e9e713ac638d;p=xfstests-dev.git Dont hard code paths ni test 050, and fix common.quota macros on Debian setups. Merge of master-melb:xfs-cmds:26021a by kenmcd. --- diff --git a/050 b/050 index 6b1cfa32..37fc448f 100755 --- a/050 +++ b/050 @@ -83,10 +83,8 @@ _exercise() # keep the blocksize and data size for dd later . $tmp.mkfs - _qmount - # Figure out whether we're doing large allocations # (bail out if they're so large they stuff the test up) _test_inode_flag extsz-inherit $SCRATCH_MNT @@ -121,13 +119,13 @@ _exercise() _file_as_id $SCRATCH_MNT/softie2 $id $type 1024 0 _qmount xfs_quota -D $tmp.projects -P $tmp.projid -x -c "repquota -birnN -$type" $SCRATCH_DEV | _filter_report - + echo echo "*** push past the soft block limit" | tee -a $seq.full _file_as_id $SCRATCH_MNT/softie $id $type 1024 140 _qmount xfs_quota -D $tmp.projects -P $tmp.projid -x -c "repquota -birnN -$type" $SCRATCH_DEV | _filter_report - + echo # Note: for quota accounting (not enforcement), EDQUOT is not expected echo "*** push past the hard inode limit (expect EDQUOT)" | tee -a $seq.full @@ -174,8 +172,8 @@ _qmount_option() [ "$?" -eq 0 ] || export MOUNT_OPTIONS="$MOUNT_OPTIONS -o $1" } -cat >$tmp.projects <$tmp.projects <$tmp.projid <