1 diff --git a/tests/t_list b/tests/t_list
2 index a8c92c4..c410cf2 100755
9 -ndicts=`"$PATH_TO_SDCV" -l | wc -l`
11 +ndicts=`"$PATH_TO_SDCV" --data-dir "${TEST_DIR}" -l | wc -l`
13 -ncom=`find /usr/share/stardict/dic -name "*.ifo" | wc -l`
14 -nspe=`find "${XDG_DATA_HOME:-$HOME/.local/share}"/stardict/dic -name "*.ifo" | wc -l`
16 +nmy=`find "${TEST_DIR}" -name "*.ifo" | wc -l`
18 if [ $nmy -ne $ndicts ]; then
19 echo "should be: $nmy, we have: $ndicts" >&2