xfs
[Top] [All Lists]

[PATCH] xfstests: filter projid32bit info out of growfs & info output

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: filter projid32bit info out of growfs & info output
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Sun, 06 Oct 2013 15:09:54 -0500
Delivered-to: xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
commit 67e389c xfsprogs: support CRC enabled filesystem detection

changed xfs_growfs (and by extension xfs_info) to report
the projid32bit value.  This breaks at least xfstest xfs/206 due to
the changed output, so filter it as we do for mkfs in that test.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

diff --git a/tests/xfs/206 b/tests/xfs/206
index fcbdd9e..d2c2ade 100755
--- a/tests/xfs/206
+++ b/tests/xfs/206
@@ -86,6 +86,7 @@ echo "=== xfs_growfs ==="
 xfs_growfs $tmpdir \
        | sed -e "s,^meta-data=.*isize,meta-data=FILE                   
isize,g" \
                -e "s/\(^log.*blocks=\)\([0-9]*,\)/\1XXXXX,/" \
+               -e "s/, projid32bit=[0-9]//" \
                -e "/.*crc=/d"
 
 # and double-check the new geometry
@@ -93,6 +94,7 @@ echo "=== xfs_info ==="
 xfs_info $tmpdir \
        | sed -e "s,^meta-data=.*isize,meta-data=FILE                   
isize,g" \
                -e "s/\(^log.*blocks=\)\([0-9]*,\)/\1XXXXX,/" \
+               -e "s/, projid32bit=[0-9]//" \
                -e "/.*crc=/d"
 
 # _cleanup cleans up for us

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