xfs
[Top] [All Lists]

[PATCH 2/5] xfstests: update for xfs_dinode_core_t removal

To: xfs@xxxxxxxxxxx
Subject: [PATCH 2/5] xfstests: update for xfs_dinode_core_t removal
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 30 Dec 2008 18:08:12 -0500
References: <20081230230810.986105000@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: quilt/0.46-1
Strip away the core. prefixes in 186 to make sure the golden output
works for both old and new xfsprogs.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: xfstests/186
===================================================================
--- xfstests/186        2008-12-30 13:04:58.000000000 +0000
+++ xfstests/186        2008-12-30 14:25:51.000000000 +0000
@@ -66,8 +66,10 @@
 
 _filter_inode()
 {
-       tee -a $seq.full | egrep '^u.sfdir2|^a.sfattr|core.forkoff' |\
-       egrep -v 'inumber|parent'
+       tee -a $seq.full | \
+               sed -e "s/core.forkoff/forkoff/g" | \
+               egrep '^u.sfdir2|^a.sfattr|forkoff' | \
+               egrep -v 'inumber|parent'
 }
 
 _filter_version()
Index: xfstests/186.out
===================================================================
--- xfstests/186.out    2008-12-30 13:04:58.000000000 +0000
+++ xfstests/186.out    2008-12-30 13:05:50.000000000 +0000
@@ -2,7 +2,7 @@
 
 =================================
 ATTR2
-core.forkoff = 0
+forkoff = 0
 u.sfdir2.hdr.count = 0
 u.sfdir2.hdr.i8count = 0
 =================================
@@ -12,7 +12,7 @@
 
 =================================
 ATTR2
-core.forkoff = 0
+forkoff = 0
 u.sfdir2.hdr.count = 25
 u.sfdir2.hdr.i8count = 0
 u.sfdir2.list[0].namelen = 6
@@ -98,7 +98,7 @@
 =================================
 ATTR
 ATTR2
-core.forkoff = 47
+forkoff = 47
 u.sfdir2.hdr.count = 25
 u.sfdir2.hdr.i8count = 0
 u.sfdir2.list[0].namelen = 6
@@ -195,7 +195,7 @@
 
 =================================
 ATTR
-core.forkoff = 47
+forkoff = 47
 u.sfdir2.hdr.count = 25
 u.sfdir2.hdr.i8count = 0
 u.sfdir2.list[0].namelen = 6

-- 

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