X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Ftest3.sh;h=269aab7cb693c23cfd20b41106acb0d40fbf800e;hb=a692aad104901f14ecb713bf85940117c68108e7;hp=c315aa8b63192f79ef29d061a5bf4331f1e2bcb3;hpb=9352bc51ad89424a299ef67def1fb20436682a85;p=idzebra-moved-to-github.git diff --git a/test/gils/test3.sh b/test/gils/test3.sh index c315aa8..269aab7 100755 --- a/test/gils/test3.sh +++ b/test/gils/test3.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: test3.sh,v 1.6 2005-01-03 09:19:26 adam Exp $ +# $Id: test3.sh,v 1.7 2005-01-03 12:08:04 adam Exp $ # Testing searches with lots of @and operators # in order to test the fast-forward operation of rsets @@ -19,97 +19,97 @@ echo "updating..." >>$LOG ../../index/zebraidx -l $LOG -c $pp/zebra1.cfg update $pp/records || exit 1 echo "starting server..." >>$LOG -../../index/zebrasrv -D -p z.pid -S -c $pp/zebra1.cfg $DBG -l $LOG tcp:@:9901 +../../index/zebrasrv -D -p z.pid -S -c $pp/zebra1.cfg $DBG -l $LOG unix:socket echo "checking it runs..." >>$LOG test -f z.pid || exit 1 echo "search A1..." >>$LOG -../api/testclient -c 17 localhost:9901 utah > log || exit 1 +../api/testclient -c 17 unix:socket utah > log || exit 1 echo "search A2..." >>$LOG -../api/testclient -c 30 localhost:9901 the > log || exit 1 +../api/testclient -c 30 unix:socket the > log || exit 1 echo "search A3..." >>$LOG -../api/testclient -c 4 localhost:9901 deposits > log || exit 1 +../api/testclient -c 4 unix:socket deposits > log || exit 1 echo "search B1..." >>$LOG -../api/testclient -c 7 localhost:9901 "@and utah the" > log || exit 1 +../api/testclient -c 7 unix:socket "@and utah the" > log || exit 1 echo "search B2..." >>$LOG -../api/testclient -c 7 localhost:9901 "@and the utah" > log || exit 1 +../api/testclient -c 7 unix:socket "@and the utah" > log || exit 1 echo "search C1..." >>$LOG -../api/testclient -c 1 localhost:9901 "@and @and the utah epicenter" > log || exit 1 +../api/testclient -c 1 unix:socket "@and @and the utah epicenter" > log || exit 1 echo "search C2..." >>$LOG -../api/testclient -c 1 localhost:9901 "@and @and the epicenter utah" > log || exit 1 +../api/testclient -c 1 unix:socket "@and @and the epicenter utah" > log || exit 1 echo "search C3..." >>$LOG -../api/testclient -c 1 localhost:9901 "@and @and utah the epicenter" > log || exit 1 +../api/testclient -c 1 unix:socket "@and @and utah the epicenter" > log || exit 1 echo "search C4..." >>$LOG -../api/testclient -c 1 localhost:9901 "@and @and utah epicenter the" > log || exit 1 +../api/testclient -c 1 unix:socket "@and @and utah epicenter the" > log || exit 1 echo "search C5..." >>$LOG -../api/testclient -c 1 localhost:9901 "@and @and epicenter the utah" > log || exit 1 +../api/testclient -c 1 unix:socket "@and @and epicenter the utah" > log || exit 1 echo "search C6..." >>$LOG -../api/testclient -c 1 localhost:9901 "@and @and epicenter utah the" > log || exit 1 +../api/testclient -c 1 unix:socket "@and @and epicenter utah the" > log || exit 1 echo "search D1..." >>$LOG -../api/testclient -c 29 localhost:9901 "@and the of " > log || exit 1 +../api/testclient -c 29 unix:socket "@and the of " > log || exit 1 echo "search D2..." >>$LOG -../api/testclient -c 29 localhost:9901 "@and of the" > log || exit 1 +../api/testclient -c 29 unix:socket "@and of the" > log || exit 1 echo "search D3..." >>$LOG -../api/testclient -c 29 localhost:9901 "@and @and the of of" > log || exit 1 +../api/testclient -c 29 unix:socket "@and @and the of of" > log || exit 1 echo "search D4..." >>$LOG -../api/testclient -c 29 localhost:9901 "@and @and of the the" > log || exit 1 +../api/testclient -c 29 unix:socket "@and @and of the the" > log || exit 1 echo "search D5..." >>$LOG -../api/testclient -c 29 localhost:9901 "@and @and @and the of of the" > log || exit 1 +../api/testclient -c 29 unix:socket "@and @and @and the of of the" > log || exit 1 echo "search D6..." >>$LOG -../api/testclient -c 15 localhost:9901 '@and @and in the data' > log || exit 1 +../api/testclient -c 15 unix:socket '@and @and in the data' > log || exit 1 echo "search D7..." >>$LOG -../api/testclient -c 15 localhost:9901 '@and @and in data the' > log || exit 1 +../api/testclient -c 15 unix:socket '@and @and in data the' > log || exit 1 echo "search D8..." >>$LOG -../api/testclient -c 2 localhost:9901 "@attr 1=4 @and UNPUBLISHED @and REPORTS AND" >log || exit 1 +../api/testclient -c 2 unix:socket "@attr 1=4 @and UNPUBLISHED @and REPORTS AND" >log || exit 1 # This one failed at early fast-forwards echo "search E1..." >>$LOG -../api/testclient -c 40 localhost:9901 "@or the utah" > log || exit 1 +../api/testclient -c 40 unix:socket "@or the utah" > log || exit 1 echo "search E2..." >>$LOG -../api/testclient -c 40 localhost:9901 "@or utah the" > log || exit 1 +../api/testclient -c 40 unix:socket "@or utah the" > log || exit 1 echo "search E3..." >>$LOG -../api/testclient -c 42 localhost:9901 "@or deposits @or the utah" > log || exit 1 +../api/testclient -c 42 unix:socket "@or deposits @or the utah" > log || exit 1 echo "search E4..." >>$LOG -../api/testclient -c 2 localhost:9901 "@and deposits @or the utah" > log || exit 1 +../api/testclient -c 2 unix:socket "@and deposits @or the utah" > log || exit 1 echo "search E5..." >>$LOG -../api/testclient -c 2 localhost:9901 "@and @or the utah deposits" > log || exit 1 +../api/testclient -c 2 unix:socket "@and @or the utah deposits" > log || exit 1 echo "search F1..." >>$LOG -../api/testclient -c 23 localhost:9901 "@not the utah " > log || exit 1 +../api/testclient -c 23 unix:socket "@not the utah " > log || exit 1 echo "search F2..." >>$LOG -../api/testclient -c 10 localhost:9901 "@not utah the " > log || exit 1 +../api/testclient -c 10 unix:socket "@not utah the " > log || exit 1 echo "search F3..." >>$LOG -../api/testclient -c 1 localhost:9901 "@and deposits @not utah the " > log || exit 1 +../api/testclient -c 1 unix:socket "@and deposits @not utah the " > log || exit 1 echo "search F4..." >>$LOG -../api/testclient -c 1 localhost:9901 "@and @not utah the deposits" > log || exit 1 +../api/testclient -c 1 unix:socket "@and @not utah the deposits" > log || exit 1 echo "stopping server..." >>$LOG