[PATCH] xfstests: Sort recursive getfattr output in 062
Christoph Hellwig
hch at infradead.org
Mon Nov 28 05:03:02 CST 2011
On Wed, Nov 23, 2011 at 11:09:37AM -0600, Eric Sandeen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Test 062 was made "generic" a while back, but it fails on any filesystem
> which returns getfattr -R results (aka readdir results) in something
> other than inode-order.
>
> With a little awk-fu we can sort the records from getfattr -R so that
> the output is the same for xfs as well as ext4, etc.
>
> Also filter out lost+found which extN creates at mkfs time, but
> some other filesystems do not.
Looks fine to me, except that I'd put the sorting helper into
common.attr.
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list