From 96c3496d1f829a79f73846e0e1168aac3def7389 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 28 Jul 2004 11:01:58 +0000 Subject: [PATCH] Fix sort test --- test/sort/default.idx | 6 +++--- test/sort/rec3.xml | 1 + test/sort/rec4.xml | 3 ++- test/sort/test1.sh | 14 ++++++++------ 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/test/sort/default.idx b/test/sort/default.idx index 705795c..744524c 100644 --- a/test/sort/default.idx +++ b/test/sort/default.idx @@ -1,5 +1,5 @@ # Zebra indexes as referred to from the *.abs-files. -# $Id: default.idx,v 1.1 2004-07-28 09:47:41 adam Exp $ +# $Id: default.idx,v 1.2 2004-07-28 11:01:58 adam Exp $ # # Traditional word index @@ -48,8 +48,8 @@ index d completeness 0 charmap @ -# Sort register as usual but specify another map : string-cut. +# Sort register as usual but specify another map : string-hat. sort s completeness 1 -charmap string-cut.chr +charmap string-hat.chr diff --git a/test/sort/rec3.xml b/test/sort/rec3.xml index a83e15a..4d6542f 100644 --- a/test/sort/rec3.xml +++ b/test/sort/rec3.xml @@ -1,3 +1,4 @@ 3rd computer + a^3 diff --git a/test/sort/rec4.xml b/test/sort/rec4.xml index c187216..998aaaa 100644 --- a/test/sort/rec4.xml +++ b/test/sort/rec4.xml @@ -1,3 +1,4 @@ - third ^computer + fourth computer + 4 diff --git a/test/sort/test1.sh b/test/sort/test1.sh index 7be1269..1e06ca7 100755 --- a/test/sort/test1.sh +++ b/test/sort/test1.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: test1.sh,v 1.8 2004-07-28 09:47:41 adam Exp $ +# $Id: test1.sh,v 1.9 2004-07-28 11:01:58 adam Exp $ pp=${srcdir:-"."} @@ -19,15 +19,17 @@ test -f lock/zebrasrv.pid || exit 2 ../api/testclient -n4 unix:socket '@or computer @attr 7=1 @attr 1=30 0' >tmp1 echo 'Result count: 4 my: - title: 3rd computer -my: - title: third ^computer -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 -- 1.7.10.4