X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_ccl.c;h=20f65032a97ec6b41236139403f9cf86c040adc2;hb=4f2a5c81a0efcee0fcd92bb89998126ee5dfd8e2;hp=dada1e04a6a058f4a3a9c168e8af12d6d251b736;hpb=3107ce3a34993d2f784387f227a50343fff83bbc;p=yaz-moved-to-github.git diff --git a/test/test_ccl.c b/test/test_ccl.c index dada1e0..20f6503 100644 --- a/test/test_ccl.c +++ b/test/test_ccl.c @@ -1,9 +1,10 @@ /* 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. */ - -/* CCL test */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -241,18 +242,10 @@ void tst1(int pass) "@or @attr 4=2 @attr 1=1016 a " "@attr 1=/my/title a ")); - /* Bug #2895 */ -#if 1 - YAZ_CHECK(tst_ccl_query(bibset, "a? b?", - /* incorrect. */ - "@and @attr 4=2 @attr 1=1016 a? " - "@attr 5=1 @attr 4=2 @attr 1=1016 b ")); -#else YAZ_CHECK(tst_ccl_query(bibset, "a? b?", /* correct */ "@and @attr 5=1 @attr 4=2 @attr 1=1016 a " "@attr 5=1 @attr 4=2 @attr 1=1016 b ")); -#endif ccl_qual_rm(&bibset); }