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>
34 lines
790 B
Plaintext
34 lines
790 B
Plaintext
QA output created by 230
|
|
|
|
### test user limit enforcement
|
|
|
|
### create files, setting up ownership (type=u)
|
|
### some buffered IO (type=u)
|
|
Write 900k...
|
|
Rewrite 1001k...
|
|
Write 1000k...
|
|
pwrite64: Disk quota exceeded
|
|
Write 4096...
|
|
pwrite64: 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 900k...
|
|
Rewrite 1001k...
|
|
Write 1000k...
|
|
pwrite64: Disk quota exceeded
|
|
Write 4096...
|
|
pwrite64: 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
|