From 8a327f91306f93dce58916fd84c089756af0174d Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Wed, 31 Dec 2008 12:52:35 +0100 Subject: [PATCH] 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 --- 186 | 6 ++++-- 186.out | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) 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 -- 2.39.5