summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-23 05:38:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-23 05:38:21 (GMT)
commit71cdbb3d4a07811ac29d2097e942607fbe1ddf33 (patch)
tree7f28c38dc6fef1990a66bff04f97ef94d9d8bd26 /t/test-lib.sh
parent2c18e6ae2434a6caa5b3a7256608470948e73f66 (diff)
parent742ae10e355041bb19b8d3d530453136e2a8eff2 (diff)
downloadgit-71cdbb3d4a07811ac29d2097e942607fbe1ddf33.zip
git-71cdbb3d4a07811ac29d2097e942607fbe1ddf33.tar.gz
git-71cdbb3d4a07811ac29d2097e942607fbe1ddf33.tar.bz2
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
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index ea2bbaa..f3771ab 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -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 '