]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid false failure with unicode decomposed file systems
authorPádraig Brady <P@draigBrady.com>
Sun, 24 Nov 2024 12:51:43 +0000 (12:51 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 24 Nov 2024 12:59:42 +0000 (12:59 +0000)
commitcb2774501d7a292900a8a547d6c7cdc62f90c7fb
tree8b56a682c2509596d5997c1ea6f5287e3fbd348f
parentcc58b657361bf6d5467753ee547d3a1266a6cc7f
tests: avoid false failure with unicode decomposed file systems

* tests/ls/dired.sh: macOS normalizes unicode characters to decomposed
(NFD) form when storing names in the file system, which breaks the
round-trip comparison employed by the test.  So instead use a character
which does not decompose; verified with:
  echo æ | uconv -f utf8 -t utf8 -x nfd | od -Ax -tx1z
tests/ls/dired.sh