From: Dave Chinner Date: Mon, 28 Apr 2014 00:54:53 +0000 (+1000) Subject: filter: xfs_repair emits new corruption messagse X-Git-Tag: v2022.05.01~3152 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=03227f9f50d1b45dda0ca4b3ff94b55c2c9295f4;p=users%2Fhch%2Fxfstests-dev.git filter: xfs_repair emits new corruption messagse xfs_repair now dumps metadata and CRC corruption information to the output from the verifier infrastrcuture. Filter this out so that it doesn't cause spurious test failures such as in xfs/030 and xfs/033. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- diff --git a/common/repair b/common/repair index db160bb13..3e73c1da2 100644 --- a/common/repair +++ b/common/repair @@ -80,6 +80,9 @@ s/\s+- \d+:\d\d:\d\d:.*\n//g; # crc enabled filesystem output /XFS_CORRUPTION_ERROR/ && next; /^bad uuid/ && next; +/^Metadata corruption detected/ && next; +/^Metadata CRC error detected/ && next; +/^agfl has bad CRC/ && next; print;' }