X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fsort%2Ftest1.sh;h=1e06ca725000d783380cead09b4778f54558e610;hb=96c3496d1f829a79f73846e0e1168aac3def7389;hp=87973fb062edf660b4faf110ebbaebe7dd77a11d;hpb=51f51d3de3b24507ec02ffb8d0af62b57d25f8fb;p=idzebra-moved-to-github.git diff --git a/test/sort/test1.sh b/test/sort/test1.sh index 87973fb..1e06ca7 100755 --- a/test/sort/test1.sh +++ b/test/sort/test1.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: test1.sh,v 1.7 2004-06-15 09:43:34 adam Exp $ +# $Id: test1.sh,v 1.9 2004-07-28 11:01:58 adam Exp $ pp=${srcdir:-"."} @@ -16,16 +16,20 @@ cp $pp/rec*.xml recs ../../index/zebrasrv -c $pp/zebra.cfg -l $LOG unix:socket & sleep 1 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 +../api/testclient -n4 unix:socket '@or computer @attr 7=1 @attr 1=30 0' >tmp1 +echo 'Result count: 4 my: title: second computer dateTime: 1 my: title: first computer - dateTime: 2' >tmp2 + dateTime: 2 +my: + title: 3rd computer + dateTime: a^3 +my: + title: fourth computer + dateTime: 4' >tmp2 kill `cat lock/zebrasrv.pid` diff tmp1 tmp2