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>
_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()
=================================
ATTR2
-core.forkoff = 0
+forkoff = 0
u.sfdir2.hdr.count = 0
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
=================================
ATTR
ATTR2
-core.forkoff = 47
+forkoff = 47
u.sfdir2.hdr.count = 25
u.sfdir2.hdr.i8count = 0
u.sfdir2.list[0].namelen = 6
=================================
ATTR
-core.forkoff = 47
+forkoff = 47
u.sfdir2.hdr.count = 25
u.sfdir2.hdr.i8count = 0
u.sfdir2.list[0].namelen = 6