xfs
[Top] [All Lists]

[PATCH 1/3] xfsqa: clean up 030 repair output

To: xfs@xxxxxxxxxxx
Subject: [PATCH 1/3] xfsqa: clean up 030 repair output
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 29 Apr 2010 10:16:24 +1000
In-reply-to: <1272500186-29393-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1272500186-29393-1-git-send-email-david@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
---
 common.repair |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/common.repair b/common.repair
index ba42b8f..23a1ed6 100644
--- a/common.repair
+++ b/common.repair
@@ -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;'
 }
 
-- 
1.5.6.5

<Prev in Thread] Current Thread [Next in Thread>