X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_ccl.c;h=fc244b6036da75a1d5a8654401c521ca9f9da31d;hp=1f1050df46be46b322e66f85bc921ea31ce92aaf;hb=b1df5f9013d82510f6250d93623a0126ec19265f;hpb=eb467c75687daef0419eb95f652693ca00c60195 diff --git a/test/test_ccl.c b/test/test_ccl.c index 1f1050d..fc244b6 100644 --- a/test/test_ccl.c +++ b/test/test_ccl.c @@ -260,10 +260,16 @@ void tst1(int pass) "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "a% (b or dc.title=c)", - "@prox 0 1 0 2 k 2 " - "@attr 4=2 @attr 1=1016 a " - "@or @attr 4=2 @attr 1=1016 b " - "@attr 4=2 @attr 1=1016 @attr 1=/my/title c ")); + "@prox 0 1 0 2 k 2 " + "@attr 4=2 @attr 1=1016 a " + "@or @attr 4=2 @attr 1=1016 b " +#if YAZ_781 + "@or @attr 4=2 @attr 1=/my/title c " + "@attr 4=2 @attr 1=1016 c " +#else + "@attr 4=2 @attr 1=1016 @attr 1=/my/title c " +#endif + )); YAZ_CHECK(tst_ccl_query(bibset, "(a b) % (c)", "@prox 0 1 0 2 k 2 @and "