[PATCH 06/12] xfs/030: fix output on newer filesystems

Darrick J. Wong
2016-03-05T00:38:09Z

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
tests/xfs/030 | 5 ++++-
tests/xfs/030.out.linux | 2 ++
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/xfs/030 b/tests/xfs/030
index 4cb1524..33c906c 100755
--- a/tests/xfs/030
+++ b/tests/xfs/030
@@ -57,7 +57,10 @@ _check_ag()
echo "Corrupting $structure - setting bits to $1"
_check_repair $1 "$structure" |
sed -e '/^error following ag 0 unlinked list$/d' \
- -e '/^bad agbno AGBNO for finobt/d'
+ -e '/^bad agbno AGBNO for finobt/d' \
+ -e '/^bad agbno AGBNO for rmapbt/d' \
+ -e '/^bad agbno AGBNO for refcntbt/d' \
+ -e '/^Missing reverse-mapping record.*/d'
done
}

diff --git a/tests/xfs/030.out.linux b/tests/xfs/030.out.linux
index cf3259f..14b9b35 100644
--- a/tests/xfs/030.out.linux
+++ b/tests/xfs/030.out.linux
@@ -231,6 +231,8 @@ bad agbno AGBNO in agfl, agno 0
bad agbno AGBNO in agfl, agno 0
bad agbno AGBNO in agfl, agno 0
bad agbno AGBNO in agfl, agno 0
+bad agbno AGBNO in agfl, agno 0
+bad agbno AGBNO in agfl, agno 0
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...