fix t_utf8input on other then my machine

This commit is contained in:
Evgeniy A. Dushistov
2016-06-02 17:09:30 +03:00
parent b8b3dc8e75
commit b657e810d6
7 changed files with 19 additions and 4 deletions

View File

@@ -144,4 +144,4 @@ if (BUILD_TESTS)
add_sdcv_shell_test(t_utf8input) add_sdcv_shell_test(t_utf8input)
add_sdcv_shell_test(t_datadir) add_sdcv_shell_test(t_datadir)
endif () endif (BUILD_TESTS)

View File

@@ -0,0 +1,2 @@
<k>человек</k>
man

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,8 @@
StarDict's dict ifo file
version=2.4.2
wordcount=1
idxfilesize=23
bookname=Sample 1 test dictionary
date=2016.06.02
sametypesequence=x
description=Copyright: GNU Public License.; Version: 0.1

View File

@@ -1,9 +1,12 @@
#!/bin/sh #!/bin/sh
# This test is dirty hack: if you want try it
# make sure that you have not small Russian dictionary, like mueller 7 GPL set -e
# or replace человек by something else
PATH_TO_SDCV="$1" PATH_TO_SDCV="$1"
TESTS_DIR="$2"
mkdir -p "${HOME}"/.stardict/dic
cp -R "${TESTS_DIR}/rus-eng-stardict-2.4.2" "${HOME}"/.stardict/dic/
unset SDCV_PAGER unset SDCV_PAGER
export LANG=ru_RU.KOI8-R export LANG=ru_RU.KOI8-R

View File

@@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -e
export LANG=ru_RU.KOI8-R export LANG=ru_RU.KOI8-R
unset SDCV_PAGER unset SDCV_PAGER