X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=test%2Fxpath%2Fsimple1.sh;h=239811c39a81094d004c1afef09caaf37b939997;hb=403ae06f9dbf8180008ccc8128f642203d41ae50;hp=9c7dc5515269eb5219a15460b9f37e11e747ea6e;hpb=75afa0301433673a23f5c7c8e1f8c78efb4a2d4c;p=idzebra-moved-to-github.git diff --git a/test/xpath/simple1.sh b/test/xpath/simple1.sh index 9c7dc55..239811c 100755 --- a/test/xpath/simple1.sh +++ b/test/xpath/simple1.sh @@ -1,25 +1,25 @@ #!/bin/sh -# $Id: simple1.sh,v 1.2 2003-05-06 17:39:01 adam Exp $ +# $Id: simple1.sh,v 1.3 2003-05-21 14:39:23 adam Exp $ # test with one simple sgml record LOG=simple1.log ../../index/zebraidx -l $LOG init || exit 1 -../../index/zebraidx -l $LOG update simple1.rec || exit 1 +../../index/zebraidx -l $LOG update simple1.xml || exit 1 echo "Starting server " >> $LOG ../../index/zebrasrv -l $LOG -S unix:socket & sleep 1 test -f zebrasrv.pid || exit 2 -../testclient unix:socket -c 0 '@attr 1=/sgml/tag before' >> $LOG || exit 1 -../testclient unix:socket -c 1 '@attr 1=/sgml/tag inside' >> $LOG || exit 1 -../testclient unix:socket -c 0 '@attr 1=/sgml/tag after' >> $LOG || exit 1 +../api/testclient unix:socket -c 0 '@attr 1=/sgml/tag before' >> $LOG || exit 1 +../api/testclient unix:socket -c 1 '@attr 1=/sgml/tag inside' >> $LOG || exit 1 +../api/testclient unix:socket -c 0 '@attr 1=/sgml/tag after' >> $LOG || exit 1 -../testclient unix:socket -c 0 '@attr 1=/sgml/none after' >> $LOG || exit 1 +../api/testclient unix:socket -c 0 '@attr 1=/sgml/none after' >> $LOG || exit 1 -../testclient unix:socket -c 1 '@attr 1=/sgml before' >> $LOG || exit 1 -../testclient unix:socket -c 1 '@attr 1=/sgml inside' >> $LOG || exit 1 -../testclient unix:socket -c 1 '@attr 1=/sgml after' >> $LOG || exit 1 +../api/testclient unix:socket -c 1 '@attr 1=/sgml before' >> $LOG || exit 1 +../api/testclient unix:socket -c 1 '@attr 1=/sgml inside' >> $LOG || exit 1 +../api/testclient unix:socket -c 1 '@attr 1=/sgml after' >> $LOG || exit 1 echo "killing server " >> $LOG kill `cat zebrasrv.pid` || exit 3