fstests: generic test for listing an inode's xattrs
authorFilipe Manana <fdmanana@suse.com>
Sun, 28 Feb 2016 23:18:51 +0000 (10:18 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 28 Feb 2016 23:18:51 +0000 (10:18 +1100)
commit40d2678b7b5dfd7779fb87878dd24b2e7797b780
treecbb03285016c571d3cfebf8ce889085d5a06ae81
parenta94334afa2ffdb104eec081a34e5d31922223b3d
fstests: generic test for listing an inode's xattrs

Test that the filesystem's implementation of the listxattrs system call
lists all the xattrs an inode has.

This test is motivated by a bug found in btrfs, which is fixed by the
following patch for the linux kernel:

  "Btrfs: fix listxattrs not listing all xattrs packed in the same item"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/337 [new file with mode: 0755]
tests/generic/337.out [new file with mode: 0644]
tests/generic/group