]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: test that xattrs can have slashes in their names
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 Jan 2019 23:14:48 +0000 (15:14 -0800)
committerEryu Guan <guaneryu@gmail.com>
Thu, 10 Jan 2019 11:04:45 +0000 (19:04 +0800)
commite492e5157df83e93c51bcda713a4cb340cda0a05
treefb14cba194f0098f463db4f682f8e16c4d6bce34
parent50076fc291e3cdc9ea61ac06d66250f06e5b1c98
generic: test that xattrs can have slashes in their names

Eric Sandeen recently found a bug in xfs_repair that flagged extended
attribute names containing "/" as corrupt and purged them.  There's
nothing in the IRIX or Linux manuals that say anything about slashes not
being allowed (and Linux certainly allows this) so let's make sure this
continues to work.

[Eryu: use $SETFATTR and _getfattr helper]

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/523 [new file with mode: 0755]
tests/generic/523.out [new file with mode: 0644]
tests/generic/group