]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/122: don't break on old xfsprogs
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 31 May 2016 16:43:52 +0000 (09:43 -0700)
committerEryu Guan <eguan@redhat.com>
Wed, 15 Jun 2016 07:44:49 +0000 (15:44 +0800)
commitc0c6e54ce63f78368b27e8d56f6ce0cdd1dec944
tree92b0859f50ef0e263b91fe34c96db698decb982d
parent44b9337e0948c2f5eef71327235999f55a5bdb88
xfs/122: don't break on old xfsprogs

If we're running against a old version of xfsprogs that lacks some
of the structures that the golden output knows about, copy the
structure size definition from the golden output to the program
output.  This way we can check for structure size mutations on old
xfsprogs without generating false error reports for structs that
don't exist in the old release.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/122
tests/xfs/122.out