]> git.ipfire.org Git - thirdparty/git.git/commit
t9350: fix encoding test to actually test reencoding
authorElijah Newren <newren@gmail.com>
Tue, 14 May 2019 04:30:58 +0000 (21:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 May 2019 07:48:55 +0000 (16:48 +0900)
commit32615ce7626f8f07990bd1c01f49be6dca7d4a2d
tree19431e4be024ce0e26ca7d4e8c3ade6c11ee627d
parent83232e38648b51abbcbdb56c94632b6906cc85a6
t9350: fix encoding test to actually test reencoding

This test used an author with non-ascii characters in the name, but no
special commit message.  It then grep'ed for those non-ascii characters,
but those are guaranteed to exist regardless of the reencoding process
since the reencoding only affects the commit message, not the author or
committer names.  As such, the test would work even if the re-encoding
process simply stripped the commit message entirely.  Modify the test to
actually check that the reencoding into UTF-8 worked.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9350-fast-export.sh
t/t9350/simple-iso-8859-7-commit-message.txt [new file with mode: 0644]