filter: xfs_io output has dropped "64" from error messages
authorDave Chinner <dchinner@redhat.com>
Wed, 2 Nov 2016 21:15:25 +0000 (08:15 +1100)
committerEryu Guan <eguan@redhat.com>
Thu, 3 Nov 2016 02:41:41 +0000 (10:41 +0800)
commitc52086226bc6713439b159700a0df6e0eddc279a
tree3fe06302a897b41c9e6592ae77cfea8428744fe2
parentefef020df5b257085831106847d318c93d46531c
filter: xfs_io output has dropped "64" from error messages

Upstream xfs_io has been converted to always use LFS compliant
(i.e. 64 bit) pwrite() rather than pwrite64(). Similar changes have
been made for multiple syscalls that have "*64" variants. hence the
error output of all these commands has changed, such as "pwrite64:
..." to "pwrite: ....".

Make a filter to catch the *64 variants and strip it, and
convert all the golden output to use the non-*64 variant. This will
make all golden output matching work correctly regardless of what
version of xfs_io is in use.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
29 files changed:
common/filter
tests/btrfs/126
tests/btrfs/126.out
tests/ext4/306
tests/ext4/306.out
tests/f2fs/001
tests/f2fs/001.out
tests/generic/171
tests/generic/171.out
tests/generic/172
tests/generic/172.out
tests/generic/174
tests/generic/174.out
tests/generic/230
tests/generic/230.out
tests/generic/271
tests/generic/271.out
tests/generic/272
tests/generic/272.out
tests/generic/276
tests/generic/276.out
tests/generic/278
tests/generic/278.out
tests/generic/328
tests/generic/328.out
tests/xfs/071
tests/xfs/071.out.64
tests/xfs/182
tests/xfs/182.out