Fix .full file overwrite in test 106, enable project quota QA in 108.

Merge of master-melb:xfs-cmds:22787a by kenmcd.
This commit is contained in:
Nathan Scott
2005-06-03 03:48:40 +00:00
parent 8ee8984492
commit 53bb1a5ddc
3 changed files with 33 additions and 3 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ _require_quota
# real QA test starts here
_scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
cat $tmp.mkfs >>$seq.full
cat $tmp.mkfs >$seq.full
. $tmp.mkfs
# setup a default run
+2 -2
View File
@@ -135,8 +135,8 @@ export MOUNT_OPTIONS="-opquota"
_qmount
type=p
id=$prid
#test_files
#test_accounting
test_files
test_accounting
umount $SCRATCH_DEV 2>/dev/null
status=0
+30
View File
@@ -69,3 +69,33 @@ Filesystem Blocks Quota Limit Warn/Time Mounted on
Disk quotas for Group #2 (2)
Filesystem Files Quota Limit Warn/Time Mounted on
[SCR_DEV] 3 0 0 00 [------] [SCR_MNT]
### create files, setting up ownership (type=p)
File: "[SCR_MNT]/buffer"
Size: 0 Filetype: Regular File
Mode: (0600/-rw-------) Uid: (1) Gid: (2)
projid = 3
File: "[SCR_MNT]/direct"
Size: 0 Filetype: Regular File
Mode: (0600/-rw-------) Uid: (1) Gid: (2)
projid = 3
File: "[SCR_MNT]/mmap"
Size: 0 Filetype: Regular File
Mode: (0600/-rw-------) Uid: (1) Gid: (2)
projid = 3
### some controlled buffered, direct and mmapd IO (type=p)
File: "[SCR_MNT]/buffer"
Size: 16777216 Filetype: Regular File
Mode: (0600/-rw-------) Uid: (1) Gid: (2)
File: "[SCR_MNT]/direct"
Size: 16777216 Filetype: Regular File
Mode: (0600/-rw-------) Uid: (1) Gid: (2)
File: "[SCR_MNT]/mmap"
Size: 16777216 Filetype: Regular File
Mode: (0600/-rw-------) Uid: (1) Gid: (2)
Disk quotas for Project #3 (3)
Filesystem Blocks Quota Limit Warn/Time Mounted on
[SCR_DEV] 48M 0 0 00 [------] [SCR_MNT]
Disk quotas for Project #3 (3)
Filesystem Files Quota Limit Warn/Time Mounted on
[SCR_DEV] 3 0 0 00 [------] [SCR_MNT]