Test uses api rather than server&client
[idzebra-moved-to-github.git] / test / sort2 / test1.sh
diff --git a/test/sort2/test1.sh b/test/sort2/test1.sh
deleted file mode 100755 (executable)
index 805e0a1..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-# $Id: test1.sh,v 1.1 2004-09-14 14:35:52 quinn Exp $
-
-pp=${srcdir:-"."}
-
-ulimit -c 10000
-LOG=test1.log
-rm -f $LOG
-rm -fr lock
-mkdir lock
-rm -fr reg
-mkdir reg
-rm -fr recs
-mkdir recs
-cp $pp/rec*.xml recs
-../../index/zebraidx -c $pp/zebra.cfg -l $LOG update recs || exit 1
-../../index/zebrasrv -c $pp/zebra.cfg -l $LOG unix:socket &
-sleep 1
-test -f lock/zebrasrv.pid || exit 2
-../api/testclient -n4 unix:socket '@or computer @attr 7=1 @attr 1=4 0' >tmp1
-
-kill `cat lock/zebrasrv.pid`
-
-echo 'Result count: 4
-my:
-  title: first computer
-my:
-  title: the fourth computer
-my:
-  title: second computer
-my:
-  title: A third computer' >tmp2
-
-diff tmp1 tmp2