Browse Source

Merge branch 'tb/test-apfs-utf8-normalization'

A test to see if the filesystem normalizes UTF-8 filename has been
updated to check what we need to know in a more direct way, i.e. a
path created in NFC form can be accessed with NFD form (or vice
versa) to cope with APFS as well as HFS.

* tb/test-apfs-utf8-normalization:
  test: correct detection of UTF8_NFD_TO_NFC for APFS
maint
Junio C Hamano 7 years ago
parent
commit
71cdbb3d4a
  1. 7
      t/test-lib.sh

7
t/test-lib.sh

@ -1106,12 +1106,7 @@ test_lazy_prereq UTF8_NFD_TO_NFC ' @@ -1106,12 +1106,7 @@ test_lazy_prereq UTF8_NFD_TO_NFC '
auml=$(printf "\303\244")
aumlcdiar=$(printf "\141\314\210")
>"$auml" &&
case "$(echo *)" in
"$aumlcdiar")
true ;;
*)
false ;;
esac
test -f "$aumlcdiar"
'

test_lazy_prereq AUTOIDENT '

Loading…
Cancel
Save