]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Add missing test file for UTF-16.
authorBrian M. Carlson <sandals@crustytoothpaste.net>
Sat, 3 Aug 2013 17:26:31 +0000 (17:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Aug 2013 16:46:47 +0000 (09:46 -0700)
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.

Signed-off-by: Brian M. Carlson <sandals@crustytoothpaste.net>
Tested-by: Duy Nguyen <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3900/UTF-16.txt [new file with mode: 0644]

diff --git a/t/t3900/UTF-16.txt b/t/t3900/UTF-16.txt
new file mode 100644 (file)
index 0000000..2257f05
Binary files /dev/null and b/t/t3900/UTF-16.txt differ