mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common/dump: filter out xfs_restore messages about fallocate failures
fallocate is not supported on XFS filesystems that are running in "always COW" mode. This leads to false test regressions because xfs_restore complains about EOPNOTSUPP in the golden output. The preallocation isn't required for correct xfs_restore operation, so filter out the EOPNOTSUPP messages. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
4e9ffa1316
commit
c25b43fbe7
@@ -866,6 +866,7 @@ _dump_filter_main()
|
||||
-e 's/id:[[:space:]]*[0-9a-f]\{8\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{12\}/ID: ID/' \
|
||||
-e 's/\[y\/n\][- ]----------------------*/\[y\/n\]/' \
|
||||
-e '/skip attribute set/d' \
|
||||
-e '/xfsrestore: NOTE: attempt to reserve [0-9]* bytes for.*Operation not supported/d' \
|
||||
| perl -ne '
|
||||
# filter out all the output between the lines "Dump Summary:"
|
||||
# and "Dump Status:"
|
||||
|
||||
Reference in New Issue
Block a user