mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
7f4a2e30b2
Different filesystems account different amount of metadata in quota. Thus it is impractical to check for a particular amount of space occupied by a file because there is no right value. Change the test to verify whether the amount of space is between the expected amount of space and the expected amount +5%. The number of files is checked exactly as previously. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Alex Elder <aelder@sgi.com>
50 lines
1.8 KiB
Plaintext
50 lines
1.8 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)
|
|
Usage OK (type=u)
|
|
|
|
### 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)
|
|
Usage OK (type=g)
|