projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 4.2.3
[yaz-moved-to-github.git]
/
test
/
test_ccl.c
diff --git
a/test/test_ccl.c
b/test/test_ccl.c
index
20f6503
..
ae413ea
100644
(file)
--- a/
test/test_ccl.c
+++ b/
test/test_ccl.c
@@
-67,6
+67,13
@@
void tst1(int pass)
if (!bibset)
return;
if (!bibset)
return;
+ if (pass == 1)
+ {
+ CCL_bibset nbibset = ccl_qual_dup(bibset);
+ ccl_qual_rm(&bibset);
+ bibset = nbibset;
+ }
+
switch(pass)
{
case 0:
switch(pass)
{
case 0:
@@
-166,6
+173,11
@@
void tst1(int pass)
}
YAZ_CHECK(tst_ccl_query(bibset, "x1", "@attr 4=2 @attr 1=1016 x1 "));
}
YAZ_CHECK(tst_ccl_query(bibset, "x1", "@attr 4=2 @attr 1=1016 x1 "));
+
+ YAZ_CHECK(tst_ccl_query(bibset, "k\xc3\xb8" "benhavn", "@attr 4=2 @attr 1=1016 k\xc3\xb8" "benhavn "));
+
+ YAZ_CHECK(tst_ccl_query(bibset, "k\xf8" "benhavn", "@attr 4=2 @attr 1=1016 ""k\xf8" "benhavn "));
+
YAZ_CHECK(tst_ccl_query(bibset, "(((((x1)))))", "@attr 4=2 @attr 1=1016 x1 "));
YAZ_CHECK(tst_ccl_query(bibset, "x1 and x2",
"@and "
YAZ_CHECK(tst_ccl_query(bibset, "(((((x1)))))", "@attr 4=2 @attr 1=1016 x1 "));
YAZ_CHECK(tst_ccl_query(bibset, "x1 and x2",
"@and "