diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-08-20 18:33:55 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-20 18:33:55 (GMT) |
commit | e72db08f151dfec0c177b91ae903a8fbe56cda7c (patch) | |
tree | 74e6c0e319a531c05639110427942dafd3006a5e /t/test-lib.sh | |
parent | 6bbd1034d869756ac2679879bd2fa085b1a8f137 (diff) | |
parent | 6ec633059ad0b17850ad18c7325678d6c845b74c (diff) | |
download | git-e72db08f151dfec0c177b91ae903a8fbe56cda7c.zip git-e72db08f151dfec0c177b91ae903a8fbe56cda7c.tar.gz git-e72db08f151dfec0c177b91ae903a8fbe56cda7c.tar.bz2 |
Merge branch 'wc/make-funnynames-shared-lazy-prereq'
A test prerequisite defined by various test scripts with slightly
different semantics has been consolidated into a single copy and
made into a lazily defined one.
* wc/make-funnynames-shared-lazy-prereq:
t: factor out FUNNYNAMES as shared lazy prereq
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 78f7097..8bb0f43 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -1104,6 +1104,20 @@ test_lazy_prereq CASE_INSENSITIVE_FS ' test "$(cat CamelCase)" != good ' +test_lazy_prereq FUNNYNAMES ' + test_have_prereq !MINGW && + touch -- \ + "FUNNYNAMES tab embedded" \ + "FUNNYNAMES \"quote embedded\"" \ + "FUNNYNAMES newline +embedded" 2>/dev/null && + rm -- \ + "FUNNYNAMES tab embedded" \ + "FUNNYNAMES \"quote embedded\"" \ + "FUNNYNAMES newline +embedded" 2>/dev/null +' + test_lazy_prereq UTF8_NFD_TO_NFC ' # check whether FS converts nfd unicode to nfc auml=$(printf "\303\244") |