mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
6721ab08bd
Different quota format may print additional information in repquota(8) output after standard quota information is printed. If format does support this additional printouts, repquota(8) will separate possible output by two empty lines even if format handler doesn't actually printout anything (which is currently always the case for queries test generic/235 does). If format doesn't support additional printouts, these two empty lines are not present in the output. This inconsistency causes false failures for some quota formats. Fix the problem by filtering out empty lines out of repquota(8) output. Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
27 lines
1.6 KiB
Plaintext
27 lines
1.6 KiB
Plaintext
QA output created by 235
|
|
*** 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
|
|
----------------------------------------------------------------------
|
|
fsgqa -- 0 0 0 1 0 0
|
|
*** 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
|
|
----------------------------------------------------------------------
|
|
fsgqa -- 0 0 0 1 0 0
|
|
touch: cannot touch 'SCRATCH_MNT/failed': Read-only file system
|
|
*** 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
|
|
----------------------------------------------------------------------
|
|
fsgqa -- 8 0 0 1 0 0
|
|
*** 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
|
|
----------------------------------------------------------------------
|
|
fsgqa -- 8 0 0 1 0 0
|