git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add missing test file for UTF-16.
@ 2013-08-03 17:26 brian m. carlson
  2013-08-04  2:31 ` Duy Nguyen
  0 siblings, 1 reply; 6+ messages in thread
From: brian m. carlson @ 2013-08-03 17:26 UTC (permalink / raw)
  To: git; +Cc: pclouds, peter, stefano.lattarini

The test file that the UTF-16 rejection test looks for is missing, but this went
unnoticed because the test is expected to fail anyway; as a consequence, the
test fails because the file containing the commit message is missing, and not
because the test file contains a NUL byte.  Fix this by including a sample text
file containing a commit message encoded in UTF-16.
---
 t/t3900/UTF-16.txt | Bin 0 -> 146 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 t/t3900/UTF-16.txt

diff --git a/t/t3900/UTF-16.txt b/t/t3900/UTF-16.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2257f05a992a4b9500f6ff33752cbdf8fb58c99d
GIT binary patch
literal 146
zcmW-aJqm<C6obFoQ_KYvZ0uz~uwFfY_=AGZf}@2;@>bjKEzFY?FCi}po-doQaNvlX
zuj<&j$Vh~SS#Fd&>8^}o3xQtzWRNy5zCGpzu|P`62Tv_HZgu?B*(r7K7qg7DI9e@K
J`p+qB@d1eo8QA~;

literal 0
HcmV?d00001

-- 
1.8.4.rc1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-06 17:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-03 17:26 [PATCH] Add missing test file for UTF-16 brian m. carlson
2013-08-04  2:31 ` Duy Nguyen
2013-08-04 16:06   ` brian m. carlson
2013-08-05 16:44   ` Junio C Hamano
2013-08-06 11:59     ` Duy Nguyen
2013-08-06 17:24       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).