]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfsqa: clean up 030 repair output
authorDave Chinner <david@fromorbit.com>
Tue, 4 May 2010 06:01:47 +0000 (16:01 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 4 May 2010 06:01:47 +0000 (16:01 +1000)
With the new checks in xfs_repair, it outputs more information
about errors found than previously. This new output can be ignored
for the purposeŃ• of this test, so filter it all out. This will
allow the test to run on new and old reapir binaries.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
common.repair

index ba42b8ff92d8f140699de5f0ec77f61f8d4052af..23a1ed65e0ab36ff4077ebb200cd4099580e84f6 100644 (file)
@@ -72,6 +72,11 @@ s/        - generate realtime summary info and bitmap...\n//g;
 s/\s+- creating \d+ worker thread\(s\)\n//g;
 s/\s+- reporting progress in intervals of \d+ minutes\n//g;
 s/\s+- \d+:\d\d:\d\d:.*\n//g;
+# 3.1.0 extra accounting output
+/^agf_/ && next; # remove agf counts
+/^agi_/ && next; # remove agi counts
+/^sb_/ && next; # remove sb counts
+/^agi unlinked/ && next; # remove agi unlinked bucket warning
        print;'
 }