diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-05-09 14:54:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-10 06:32:51 +0200 |
commit | 8a7f8bedf361f6af761863ee4ea6206f1cf3bc19 (patch) | |
tree | 51572f454a010b084a1b7c9e8ae61ced07646cbf /t/t0203-gettext-setlocale-sanity.sh | |
parent | completion: mark bash script as LF-only (diff) | |
download | git-8a7f8bedf361f6af761863ee4ea6206f1cf3bc19.tar.xz git-8a7f8bedf361f6af761863ee4ea6206f1cf3bc19.zip |
t3901: move supporting files into t/t3901/
The current convention is to either generate files on the fly in tests,
or to use supporting files taken from a t/tNNNN/ directory (where NNNN
matches the test's number, or the number of the test from which we
borrow supporting files).
The test t3901-i18n-patch.sh was obviously introduced before that
convention was in full swing, hence its supporting files still lived in
t/t3901-8859-1.txt and t/t3901-utf8.txt, respectively.
Let's adjust to the current convention.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0203-gettext-setlocale-sanity.sh')
-rwxr-xr-x | t/t0203-gettext-setlocale-sanity.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0203-gettext-setlocale-sanity.sh b/t/t0203-gettext-setlocale-sanity.sh index a212460081..71b0d74b4d 100755 --- a/t/t0203-gettext-setlocale-sanity.sh +++ b/t/t0203-gettext-setlocale-sanity.sh @@ -8,7 +8,7 @@ test_description="The Git C functions aren't broken by setlocale(3)" . ./lib-gettext.sh test_expect_success 'git show a ISO-8859-1 commit under C locale' ' - . "$TEST_DIRECTORY"/t3901-8859-1.txt && + . "$TEST_DIRECTORY"/t3901/8859-1.txt && test_commit "iso-c-commit" iso-under-c && git show >out 2>err && ! test -s err && @@ -16,7 +16,7 @@ test_expect_success 'git show a ISO-8859-1 commit under C locale' ' ' test_expect_success GETTEXT_LOCALE 'git show a ISO-8859-1 commit under a UTF-8 locale' ' - . "$TEST_DIRECTORY"/t3901-8859-1.txt && + . "$TEST_DIRECTORY"/t3901/8859-1.txt && test_commit "iso-utf8-commit" iso-under-utf8 && LANGUAGE=is LC_ALL="$is_IS_locale" git show >out 2>err && ! test -s err && |