mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
btrfs/149: make it sectorsize independent
Originally this test case was designed to work with 4K sectorsize. Now enhance it to work with any sector sizes and makes the following changes: .out file not to contain any traces of sector size. Use max_inline=0 mount option so that it meets the requisite of non inline regular extent. Don't log the md5sum results to the output file as the data size vary by the sectorsize. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -271,6 +271,11 @@ _filter_xfs_io_pages_modified()
|
||||
_filter_xfs_io_units_modified "Page" $PAGE_SIZE
|
||||
}
|
||||
|
||||
_filter_xfs_io_numbers()
|
||||
{
|
||||
_filter_xfs_io | sed -E 's/[0-9]+/XXXX/g'
|
||||
}
|
||||
|
||||
_filter_test_dir()
|
||||
{
|
||||
# TEST_DEV may be a prefix of TEST_DIR (e.g. /mnt, /mnt/ovl-mnt)
|
||||
|
||||
Reference in New Issue
Block a user