diff --git a/po/sk.gmo b/po/sk.gmo index 4851f00..0f1ab67 100644 Binary files a/po/sk.gmo and b/po/sk.gmo differ diff --git a/tests/t_datadir b/tests/t_datadir index 116ae7e..b9af21e 100755 --- a/tests/t_datadir +++ b/tests/t_datadir @@ -2,11 +2,11 @@ unset SDCV_PAGER have=`../src/sdcv --data-dir ./ -l | wc -l` -let have=have-1 +have=$(($have-1)) ndicts=`find "${HOME}"/.stardict/dic -name "*.ifo" -print | wc -l` -let ndicts=ndicts+1 +ndicts=$(($ndicts+1)) if [ $have -ne $ndicts ]; then - let ndicts=ndicts-1 + ndicts=$(($ndicts-1)) echo "test failed: sdcv says: we have: $have, but really we have: $ndicts" >&2 exit 1 fi diff --git a/tests/t_list b/tests/t_list index 42ae137..f12d69b 100755 --- a/tests/t_list +++ b/tests/t_list @@ -1,10 +1,10 @@ #!/bin/sh ndicts=`../src/sdcv -l | wc -l` -let ndicts=ndicts-1 +ndicts=$(($ndicts-1)) ncom=`find /usr/share/stardict/dic -name "*.ifo" | wc -l` nspe=`find "${HOME}"/.stardict/dic -name "*.ifo" | wc -l` -let nmy=ncom+nspe +nmy=$(($ncom+$nspe)) if [ $nmy -ne $ndicts ]; then echo "should be: $nmy, we have: $ndicts" >&2 diff --git a/tests/t_utf8input b/tests/t_utf8input index 7ae88c4..6c36dd1 100755 --- a/tests/t_utf8input +++ b/tests/t_utf8input @@ -9,7 +9,7 @@ IFS=" " j=0 for i in `../src/sdcv --utf8-input -n человек 2>&1`; do - let j=j+1 + j=$(($j+1)) if [ $j -ne 1 ]; then break; fi