X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fxpath%2Ftest3.sh;fp=test%2Fxpath%2Ftest3.sh;h=0000000000000000000000000000000000000000;hb=2fce83d6949f3117dfa6591cf6e9351a111b6ae1;hp=61ca51975345247e506b2f4692bcff2c31810f71;hpb=fac482cae7850747d73866d388c1f64954d700d1;p=idzebra-moved-to-github.git diff --git a/test/xpath/test3.sh b/test/xpath/test3.sh deleted file mode 100755 index 61ca519..0000000 --- a/test/xpath/test3.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# $Id: test3.sh,v 1.5 2004-06-15 09:43:34 adam Exp $ - -pp=${srcdir:-"."} - -LOG=test3.log -TMP=test3.tmp -rm -f $LOG -rm -f $TMP -../../index/zebraidx -c $pp/zebra.cfg -l $LOG init || exit 1 -../../index/zebraidx -c $pp/zebra.cfg -l $LOG -t grs.sgml update $pp/rec.xml || exit 2 -test -f dict*.mf || exit 1 -../../index/zebrasrv -c $pp/zebra.cfg -l $LOG -S unix:socket & -sleep 1 -test -f zebrasrv.pid || exit 2 -../api/testclient unix:socket '@attr 1=/Zthes/relation/termName Sauropoda' >$TMP -echo 'Killing server' >>$LOG -kill `cat zebrasrv.pid` || exit 3 -cat $TMP >>$LOG -echo 'Checking that result count is 1' >>$LOG -grep "^Result count: 1$" $TMP >/dev/null || exit 4 -echo 'Test OK' >>$LOG -