X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstsoap2.c;h=b0d24558e64fa272f4274d3694bc908a67bd2d56;hb=e77ab47ef9cea60b0c7acedef78a0c9913f493fd;hp=8884920396789fdf0b59c31bedbe17429f475c4b;hpb=049ba50c77db8f008546899e56c8124f68cd112d;p=yaz-moved-to-github.git diff --git a/test/tstsoap2.c b/test/tstsoap2.c index 8884920..b0d2455 100644 --- a/test/tstsoap2.c +++ b/test/tstsoap2.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * $Id: tstsoap2.c,v 1.4 2006-02-01 19:53:00 adam Exp $ */ #include @@ -10,7 +8,7 @@ #include #include -#if HAVE_XML2 +#if YAZ_HAVE_XML2 #include static void tst_srw(void) @@ -31,7 +29,7 @@ static void tst_srw(void) YAZ_CHECK(sr); YAZ_CHECK(p); #if 0 - sr->u.request->query.cql = "jordbær"; + sr->u.request->query.cql = "jordb" "\xe6" "r"; #else sr->u.request->query.cql = "jordbaer"; #endif @@ -52,7 +50,7 @@ static void tst_srw(void) int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); -#if HAVE_XML2 +#if YAZ_HAVE_XML2 LIBXML_TEST_VERSION; tst_srw(); #endif