0.4.2 release

This commit is contained in:
Evgeniy Dushistov
2007-08-14 18:18:20 +00:00
commit 3f241bb6bb
118 changed files with 29884 additions and 0 deletions

14
tests/t_datadir Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
unset SDCV_PAGER
have=`../src/sdcv --data-dir ./ -l | wc -l`
let have=have-1
ndicts=`find "${HOME}"/.stardict/dic -name "*.ifo" -print | wc -l`
let ndicts=ndicts+1
if [ $have -ne $ndicts ]; then
let ndicts=ndicts-1
echo "test failed: sdcv says: we have: $have, but really we have: $ndicts" >&2
exit 1
fi
exit 0