mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
5eb645e8b6
This commit changes the test to work on file offsets that are aligned with the block size of the underlying filesystem. Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Tested-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
34 lines
844 B
Plaintext
34 lines
844 B
Plaintext
QA output created by 230
|
|
|
|
### test user limit enforcement
|
|
|
|
### create files, setting up ownership (type=u)
|
|
### some buffered IO (type=u)
|
|
Write 225 blocks...
|
|
Rewrite 250 blocks plus 1 byte...
|
|
Write 250 blocks...
|
|
pwrite: Disk quota exceeded
|
|
Write 1 block...
|
|
pwrite: Disk quota exceeded
|
|
Touch 3+4
|
|
Touch 5+6
|
|
touch: cannot touch 'SCRATCH_MNT/file6': Disk quota exceeded
|
|
Touch 5
|
|
touch: cannot touch 'SCRATCH_MNT/file5': Disk quota exceeded
|
|
|
|
### test group limit enforcement
|
|
|
|
### create files, setting up ownership (type=g)
|
|
### some buffered IO (type=g)
|
|
Write 225 blocks...
|
|
Rewrite 250 blocks plus 1 byte...
|
|
Write 250 blocks...
|
|
pwrite: Disk quota exceeded
|
|
Write 1 block...
|
|
pwrite: Disk quota exceeded
|
|
Touch 3+4
|
|
Touch 5+6
|
|
touch: cannot touch 'SCRATCH_MNT/file6': Disk quota exceeded
|
|
Touch 5
|
|
touch: cannot touch 'SCRATCH_MNT/file5': Disk quota exceeded
|