filter: xfs_repair emits new corruption messagse
authorDave Chinner <dchinner@redhat.com>
Mon, 28 Apr 2014 00:54:53 +0000 (10:54 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 28 Apr 2014 00:54:53 +0000 (10:54 +1000)
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 <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/repair

index db160bb13236e80c85406089a32259a72e74c3d7..3e73c1da2a50a4bf61502055b56c24f47ff648c0 100644 (file)
@@ -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;'
 }