generic: try various unicode normalization games
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 30 Aug 2017 22:52:34 +0000 (15:52 -0700)
committerEryu Guan <eguan@redhat.com>
Sun, 3 Sep 2017 04:20:00 +0000 (12:20 +0800)
commit0e641bc6ebcc524ae9e5eba47646d5876566e35b
treec39de838da7406ceba3d506e5e2f44783d699b43
parent1c7f4dbf37c829daff61db8360542aca69fa5344
generic: try various unicode normalization games

Linux filesystems generally treat filenames and extended attribute
keys as a bag of bytes, which means that there can be unique
sequences of bytes that render the same on most modern GUIs.  So,
let's rig up a test to see if it's really true that we can create
filenames and xattrs that look the same but point to different
files.  xfs_scrub will warn about these kinds of situations, though
they're not technically fs "corruption".

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/453 [new file with mode: 0755]
tests/generic/453.out [new file with mode: 0644]
tests/generic/454 [new file with mode: 0755]
tests/generic/454.out [new file with mode: 0644]
tests/generic/group