Remove unused stuff
[idzebra-moved-to-github.git] / test / charmap / test2.sh
index cf84466..31861c2 100755 (executable)
@@ -5,14 +5,14 @@ pp=${srcdir:-"."}
 
 LOG=test2.log
 rm -f $LOG
-if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG -V|grep Expat >/dev/null; then
+if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG filters|grep grs.xml >/dev/null; then
        ../../index/zebraidx -c $pp/zebra.cfg -l$LOG init
 else
        exit 0
 fi
 ../../index/zebraidx -c $pp/zebra.cfg -l$LOG update $pp/*.xml
 ../../index/zebrasrv -c $pp/zebra.cfg -l$LOG unix:socket &
-sleep 1
+sleep 2
 # search for UNICODE 1E25 - letter h with dot below
 ../api/testclient unix:socket '@term string ḥ' >tmp1
 echo 'Result count: 1' >tmp2