]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
update for xfs_dinode_core_t removal
authorChristoph Hellwig <hch@lst.de>
Wed, 31 Dec 2008 11:52:35 +0000 (12:52 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Wed, 31 Dec 2008 11:52:35 +0000 (12:52 +0100)
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@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
186
186.out

diff --git a/186 b/186
index b7ae19da6115799aeb7ae161c638391394cf66fe..e8706e4eb1be817dba2137215833e87e99d2d563 100755 (executable)
--- a/186
+++ b/186
@@ -66,8 +66,10 @@ _rmv_eas()
 
 _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()
diff --git a/186.out b/186.out
index 29c05d925e62f2ae287318053c6697e40e7b7df7..2bf66fabe2cde58fcfe81b46a3508d377998f979 100644 (file)
--- a/186.out
+++ b/186.out
@@ -2,7 +2,7 @@ QA output created by 186
 
 =================================
 ATTR2
-core.forkoff = 0
+forkoff = 0
 u.sfdir2.hdr.count = 0
 u.sfdir2.hdr.i8count = 0
 =================================
@@ -12,7 +12,7 @@ u.sfdir2.hdr.i8count = 0
 
 =================================
 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 @@ u.sfdir2.list[24].name = "file.25"
 =================================
 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
 
 =================================
 ATTR
-core.forkoff = 47
+forkoff = 47
 u.sfdir2.hdr.count = 25
 u.sfdir2.hdr.i8count = 0
 u.sfdir2.list[0].namelen = 6