diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-29 20:19:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-29 20:19:23 +0100 |
commit | 12bb627384ddfd47382b9f1b6464481a58d01ebb (patch) | |
tree | f9760c04ccd4fcd7de214e2acd5b0e43fb530aa9 /app-text/sdcv/files | |
parent | 5fdd950c7ae03e12746a45c86d85861beaacc846 (diff) |
gentoo resync : 29.08.2018
Diffstat (limited to 'app-text/sdcv/files')
-rw-r--r-- | app-text/sdcv/files/sdcv-t_interactive.patch | 11 | ||||
-rw-r--r-- | app-text/sdcv/files/sdcv-t_list.patch | 17 |
2 files changed, 28 insertions, 0 deletions
diff --git a/app-text/sdcv/files/sdcv-t_interactive.patch b/app-text/sdcv/files/sdcv-t_interactive.patch new file mode 100644 index 000000000000..83d503136c0f --- /dev/null +++ b/app-text/sdcv/files/sdcv-t_interactive.patch @@ -0,0 +1,11 @@ +--- sdcv-0.5.2/tests/t_interactive.orig 2018-08-26 15:04:39.174389830 +0300 ++++ sdcv-0.5.2/tests/t_interactive 2018-08-26 15:05:01.494995830 +0300 +@@ -10,7 +10,7 @@ + + "$PATH_TO_SDCV" -n >/dev/null 2>&1 & + PID=$! +-sleep 1 ++sleep 5 + + if kill -0 $PID >/dev/null 2>&1 ; then + echo "process wait input: $PID, test failed" >&2 diff --git a/app-text/sdcv/files/sdcv-t_list.patch b/app-text/sdcv/files/sdcv-t_list.patch new file mode 100644 index 000000000000..8bd23892fc7a --- /dev/null +++ b/app-text/sdcv/files/sdcv-t_list.patch @@ -0,0 +1,17 @@ +--- sdcv-0.5.2/tests/t_list.orig 2017-08-16 10:14:23.000000000 +0300 ++++ sdcv-0.5.2/tests/t_list 2018-08-26 15:12:31.501052398 +0300 +@@ -1,11 +1,10 @@ + #!/bin/sh + + PATH_TO_SDCV="$1" +-ndicts=`"$PATH_TO_SDCV" -l | wc -l` ++TEST_DIR="$2" ++ndicts=`"$PATH_TO_SDCV" --data-dir "${TEST_DIR}" -l | wc -l` + ndicts=$(($ndicts-1)) +-ncom=`find /usr/share/stardict/dic -name "*.ifo" | wc -l` +-nspe=`find "${HOME}"/.stardict/dic -name "*.ifo" | wc -l` +-nmy=$(($ncom+$nspe)) ++nmy=`find "${TEST_DIR}" -name "*.ifo" | wc -l` + + if [ $nmy -ne $ndicts ]; then + echo "should be: $nmy, we have: $ndicts" >&2 |