Reduce output for tests
[idzebra-moved-to-github.git] / test / sort / test1.sh
index 2e98061..2d18e7c 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh
-# $Id: test1.sh,v 1.2 2003-05-06 17:39:01 adam Exp $
+# $Id: test1.sh,v 1.5 2003-09-24 11:45:44 adam Exp $
+ulimit -c 10000
 LOG=test1.log
 rm -fr lock
 mkdir lock
@@ -11,8 +12,8 @@ cp rec*.xml recs
 ../../index/zebraidx -l $LOG update recs || exit 1
 ../../index/zebrasrv -l $LOG unix:socket &
 sleep 1
-test -f zebrasrv.pid || exit 2
-../testclient -n3 unix:socket '@or computer @attr 7=1 @attr 1=30 0' >tmp1
+test -f lock/zebrasrv.pid || exit 2
+../api/testclient -n3 unix:socket '@or computer @attr 7=1 @attr 1=30 0' >tmp1
 echo 'Result count: 3
 my:
   title: third computer
@@ -23,5 +24,5 @@ my:
   title: first computer
   dateTime: 2' >tmp2
 
-kill `cat zebrasrv.pid`
+kill `cat lock/zebrasrv.pid`
 diff tmp1 tmp2