mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Improve filtering to handle different realtime extent sizes too.
Merge of master-melb:xfs-cmds:26834a by kenmcd.
This commit is contained in:
@@ -32,7 +32,7 @@ _cleanup()
|
||||
|
||||
#
|
||||
# filter out counts which will vary
|
||||
# - blocks, agsize, agcount, device name
|
||||
# - extsz, blocks, agsize, agcount, device name, rtextents
|
||||
# filter out differences between linux and irix:
|
||||
# - sectsz on Linux
|
||||
# - mmr, mixed-case on IRIX
|
||||
@@ -53,6 +53,7 @@ _mkfs_filter()
|
||||
{
|
||||
tee -a $seq.full | \
|
||||
sed \
|
||||
-e 's/extsz=[0-9][0-9]*/extsz=N /' \
|
||||
-e 's/blocks=[0-9][0-9]*/blocks=N/' \
|
||||
-e 's/agsize=[0-9][0-9]*/agsize=N/' \
|
||||
-e 's/agcount=[0-9][0-9]*/agcount=N/' \
|
||||
|
||||
Reference in New Issue
Block a user