X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftst_retrieval.c;h=66c94775a93963a394e84fe74bfcff44a4e6183b;hb=b925ea17d6f146a28d745b0d34e9eec6eafda21f;hp=db1087239f3b96d539e4cf9d1bcdb6408c283054;hpb=27481680fb1a69456e789e5bc8e1ec914337287d;p=yaz-moved-to-github.git diff --git a/test/tst_retrieval.c b/test/tst_retrieval.c index db10872..66c9477 100644 --- a/test/tst_retrieval.c +++ b/test/tst_retrieval.c @@ -2,7 +2,7 @@ * Copyright (C) 2005-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: tst_retrieval.c,v 1.4 2006-05-07 17:45:41 adam Exp $ + * $Id: tst_retrieval.c,v 1.6 2006-07-06 10:17:55 adam Exp $ * */ #include @@ -16,7 +16,7 @@ #include #endif -#if HAVE_XSLT +#if YAZ_HAVE_XSLT #include #include @@ -168,7 +168,7 @@ static void tst_configure() YAZ_CHECK(conv_configure_test("" "" "" @@ -178,6 +178,35 @@ static void tst_configure() YAZ_CHECK(conv_configure_test("" "" + "" + "" + "", + 0, 0)); + + YAZ_CHECK(conv_configure_test("" + "" + "" + "" + "", + "Bad attribute 'backendschema'." + " Use 'backendname' instead", + 0)); + + + YAZ_CHECK(conv_configure_test("" + "" "" @@ -204,7 +233,7 @@ int main(int argc, char **argv) libxml2_error_to_yazlog(0 /* disable it */, ""); -#if HAVE_XSLT +#if YAZ_HAVE_XSLT tst_configure(); #endif YAZ_CHECK_TERM;