[PATCH 05/12] xfs/206: fix output when mkfs knows about reflink

Darrick J. Wong
2016-03-05T00:37:58Z

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

diff --git a/tests/xfs/206 b/tests/xfs/206
index 0f5d97d..24e690a 100755
--- a/tests/xfs/206
+++ b/tests/xfs/206
@@ -80,6 +80,7 @@ mkfs_filter()
-e "s/\(^log.*blocks=\)\([0-9]*,\)/\1XXXXX,/" \
-e "s/, projid32bit=[0-9]//" \
-e "s/ ftype=[0-9]//" \
+ -e "s/ reflink=[0-9]//" \
-e "s/\(sectsz\)\(=[0-9]* *\)/\1=512 /" \
-e "s/\(sunit=\)\([0-9]* blks,\)/\10 blks,/" \
-e "s/, lazy-count=[0-9]//" \
diff --git a/tests/xfs/206.out b/tests/xfs/206.out
index 2db839d..e73a954 100644
--- a/tests/xfs/206.out
+++ b/tests/xfs/206.out
@@ -12,6 +12,7 @@ realtime =none extsz=4096 blocks=0, rtextents=0
=== xfs_growfs ===
meta-data=FILE isize=N agcount=52, agsize=76288719 blks
= sectsz=512 attr=2
+ =
data = bsize=4096 blocks=3905982455, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
@@ -22,6 +23,7 @@ data blocks changed from 3905982455 to 4882478016
=== xfs_info ===
meta-data=FILE isize=N agcount=64, agsize=76288719 blks
= sectsz=512 attr=2
+ =
data = bsize=4096 blocks=4882478016, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0