From: Christoph Hellwig Date: Wed, 31 Dec 2008 11:52:35 +0000 (+0100) Subject: update for xfs_dinode_core_t removal X-Git-Tag: v1.1.0~331 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8a327f91306f93dce58916fd84c089756af0174d;p=xfstests-dev.git update for xfs_dinode_core_t removal 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 Reviewed-by: Eric Sandeen --- diff --git a/186 b/186 index b7ae19da..e8706e4e 100755 --- 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 29c05d92..2bf66fab 100644 --- 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