Re: [PATCH V2] xfstests: Sort recursive getfattr output in 062
From: Christoph Hellwig <hch@infradead.org>
Date: 2012-01-27 10:53:51
Also in:
linux-xfs
From: Christoph Hellwig <hch@infradead.org>
Date: 2012-01-27 10:53:51
Also in:
linux-xfs
On Wed, Jan 25, 2012 at 03:38:54PM -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. Signed-off-by: Eric Sandeen <redacted> - --- V2: move sorting function into common.attr
Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>