From: Darrick J. Wong Date: Wed, 14 Apr 2021 01:04:54 +0000 (-0700) Subject: common/dump: filter out xfs_restore messages about fallocate failures X-Git-Tag: v2022.05.01~461 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c25b43fbe789d5eea224a5fd21c9626db644034e;p=xfstests-dev.git 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 Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/common/dump b/common/dump index 2b8e0893..3c4029ff 100644 --- a/common/dump +++ b/common/dump @@ -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:"