mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-16 01:41:55 +00:00
0.4.2 release
This commit is contained in:
14
tests/t_use
Executable file
14
tests/t_use
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
cp -R stardict-test_dict-2.4.2 "${HOME}"/.stardict/dic
|
||||
unset SDCV_PAGER
|
||||
RES=`../src/sdcv -n -u test_dict test | grep "test passed"`
|
||||
|
||||
if [ -z "$RES" ]; then
|
||||
echo "we didn't find in stardict-test_dict-2.4.2 "test" keyword, something wrong" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -fr "${HOME}"/.stardict/dic/stardict-test_dict-2.4.2
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user