From 53bb1a5ddc39215f2ece7916924b1eab20dee70d Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Fri, 3 Jun 2005 03:48:40 +0000 Subject: [PATCH] Fix .full file overwrite in test 106, enable project quota QA in 108. Merge of master-melb:xfs-cmds:22787a by kenmcd. --- 106 | 2 +- 108 | 4 ++-- 108.out | 30 ++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/106 b/106 index ecb97592..2a3cfaeb 100755 --- a/106 +++ b/106 @@ -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 diff --git a/108 b/108 index 93aa55ad..20fbaf8d 100755 --- a/108 +++ b/108 @@ -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 diff --git a/108.out b/108.out index e8062ad5..77455799 100644 --- a/108.out +++ b/108.out @@ -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] -- 2.30.2