summaryrefslogtreecommitdiff
path: root/t/t3900
diff options
context:
space:
mode:
authorLibravatar Brian M. Carlson <sandals@crustytoothpaste.net>2013-08-03 17:26:31 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-08-05 09:46:47 -0700
commit214a5f2e0c86843c5f86494583792cbf3eaf89de (patch)
tree689a5604535d066a0351ec5da98da361578a4095 /t/t3900
parentcommit_tree(): refuse commit messages that contain NULs (diff)
downloadtgif-214a5f2e0c86843c5f86494583792cbf3eaf89de.tar.xz
Add missing test file for UTF-16.
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>
Diffstat (limited to 't/t3900')
-rw-r--r--t/t3900/UTF-16.txtbin0 -> 146 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/t/t3900/UTF-16.txt b/t/t3900/UTF-16.txt
new file mode 100644
index 0000000000..2257f05a99
--- /dev/null
+++ b/t/t3900/UTF-16.txt
Binary files differ