mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
777e98ec57
Test generic/382 depends on filesystem allocating exactly 30M of blocks when writing 30M file. This is not true for some filesystems - e.g. for ext2 due to indirect blocks - while leads to false positive failures. In this case, the test is not actually interested in comparing exact usage, rather in verifying the ability to write 30M worth of data. So instead of comparing 'xfs_quota report' output, just depend on detecting error when writing files. Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
14 lines
447 B
Plaintext
14 lines
447 B
Plaintext
QA output created by 382
|
|
=== user quota test ===
|
|
user blocks and inode limit
|
|
fsgqa 0 40960 40960 00 [--------] 0 40 40 00 [--------]
|
|
|
|
wrote 31457280/31457280 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
=== group quota test ===
|
|
group blocks and inode limit
|
|
fsgqa 0 40960 40960 00 [--------] 0 40 40 00 [--------]
|
|
|
|
wrote 31457280/31457280 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|