X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstccl.c;h=6455d70ccf01618646275fc73bea0527c2c3b092;hb=173f78f50536784bdc6a59d4586ba409b2b69182;hp=f985890b07e18b8632f4fdada28f93af24f0d6dd;hpb=6deb7e33545e987a7d3e3a090eefcd0cfc71805b;p=yaz-moved-to-github.git diff --git a/test/tstccl.c b/test/tstccl.c index f985890..6455d70 100644 --- a/test/tstccl.c +++ b/test/tstccl.c @@ -218,15 +218,17 @@ void tst1(int pass) "@attr 5=1 @attr 4=2 @attr 1=1016 b ")); /* Bug #2895 */ - YAZ_CHECK(tst_ccl_query(bibset, "a? b?", #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 " -#endif "@attr 5=1 @attr 4=2 @attr 1=1016 b ")); +#endif ccl_qual_rm(&bibset); }