mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
580b0a9386
There are a number of tests that use a shell function called "filter_scratch" or "_filter_scratch" in order to have the actual scratch device or mount point show up in test output with a symbolic name. There are two sets, each following a slightly different convention. Put a common _filter_scratch function definition in "common.filter" and have all test scripts use that instead. Choosing one of the two conventions meant that a few test output files had to be changed. In addition, add a call to _filter_scratch to test 185, and update its output accordingly. Signed-off-by: Alex Elder <aelder@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
64 lines
2.5 KiB
Plaintext
64 lines
2.5 KiB
Plaintext
QA output created by 219
|
|
|
|
### test user accounting
|
|
|
|
### create files, setting up ownership (type=u)
|
|
File: "SCRATCH_MNT/buffer"
|
|
Size: 0 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
File: "SCRATCH_MNT/direct"
|
|
Size: 0 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
File: "SCRATCH_MNT/mmap"
|
|
Size: 0 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
### some controlled buffered, direct and mmapd IO (type=u)
|
|
File: "SCRATCH_MNT/buffer"
|
|
Size: 49152 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
File: "SCRATCH_MNT/direct"
|
|
Size: 49152 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
File: "SCRATCH_MNT/mmap"
|
|
Size: 49152 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
*** Report for user quotas on device SCRATCH_DEV
|
|
Block grace time: 7days; Inode grace time: 7days
|
|
Block limits File limits
|
|
User used soft hard grace used soft hard grace
|
|
----------------------------------------------------------------------
|
|
#1 -- 144 0 0 3 0 0
|
|
|
|
|
|
|
|
### test group accounting
|
|
|
|
### create files, setting up ownership (type=g)
|
|
File: "SCRATCH_MNT/buffer"
|
|
Size: 0 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
File: "SCRATCH_MNT/direct"
|
|
Size: 0 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
File: "SCRATCH_MNT/mmap"
|
|
Size: 0 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
### some controlled buffered, direct and mmapd IO (type=g)
|
|
File: "SCRATCH_MNT/buffer"
|
|
Size: 49152 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
File: "SCRATCH_MNT/direct"
|
|
Size: 49152 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
File: "SCRATCH_MNT/mmap"
|
|
Size: 49152 Filetype: Regular File
|
|
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
|
|
*** Report for group quotas on device SCRATCH_DEV
|
|
Block grace time: 7days; Inode grace time: 7days
|
|
Block limits File limits
|
|
Group used soft hard grace used soft hard grace
|
|
----------------------------------------------------------------------
|
|
#2 -- 144 0 0 3 0 0
|
|
|
|
|