Skip to content

Commit 71cdbb3

Browse files
committed
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
2 parents 2c18e6a + 742ae10 commit 71cdbb3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

t/test-lib.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,12 +1106,7 @@ test_lazy_prereq UTF8_NFD_TO_NFC '
11061106
auml=$(printf "\303\244")
11071107
aumlcdiar=$(printf "\141\314\210")
11081108
>"$auml" &&
1109-
case "$(echo *)" in
1110-
"$aumlcdiar")
1111-
true ;;
1112-
*)
1113-
false ;;
1114-
esac
1109+
test -f "$aumlcdiar"
11151110
'
11161111

11171112
test_lazy_prereq AUTOIDENT '

0 commit comments

Comments
 (0)