Makefile updates for Automake 1.5+. Test script updates
[idzebra-moved-to-github.git] / test / xpath / test2.sh
index 6b54af7..89cbfe2 100755 (executable)
@@ -1,16 +1,16 @@
 #!/bin/sh
-# $Id: test2.sh,v 1.2 2003-05-06 17:39:01 adam Exp $
+# $Id: test2.sh,v 1.3 2003-05-21 14:39:23 adam Exp $
 LOG=test2.log
 TMP=test2.tmp
 rm -f $LOG
 rm -f $TMP
 ../../index/zebraidx -l $LOG init || exit 1
-../../index/zebraidx -l $LOG -t grs.sgml update rec || exit 2
+../../index/zebraidx -l $LOG -t grs.sgml update rec.xml || exit 2
 test -f dict*.mf || exit 1
 ../../index/zebrasrv -l $LOG -S unix:socket & 
 sleep 1
 test -f zebrasrv.pid || exit 2
-../testclient unix:socket '@attr 1=/Zthes/termName Sauropoda' >$TMP
+../api/testclient unix:socket '@attr 1=/Zthes/termName Sauropoda' >$TMP
 echo 'Killing server' >>$LOG
 kill `cat zebrasrv.pid` || exit 3
 cat $TMP >>$LOG