mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-15 09:21:55 +00:00
fix for t_use test
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
PATH_TO_SDCV="$1"
|
||||
TESTS_DIR="$2"
|
||||
|
||||
mkdir -p "${HOME}"/.stardict/dic
|
||||
cp -R "${TESTS_DIR}/stardict-test_dict-2.4.2" "${HOME}"/.stardict/dic
|
||||
unset SDCV_PAGER
|
||||
RES=`"$PATH_TO_SDCV" -n -u test_dict test | grep "test passed"`
|
||||
|
||||
Reference in New Issue
Block a user