X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_ccl.c;h=ea8a63deed1f992162ef49bf7f089fb39f6091d1;hb=a6f6d77b75984f05b97942cfcca1b64d661fc76a;hp=f3b04b3b2901e89f9e80b02568ca1df37859af5d;hpb=d0e351c12fff564d876958e860338d43716dc269;p=yaz-moved-to-github.git diff --git a/test/test_ccl.c b/test/test_ccl.c index f3b04b3..ea8a63d 100644 --- a/test/test_ccl.c +++ b/test/test_ccl.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H @@ -166,6 +166,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, "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 "