projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update source headers for 2008. Omit CVS ID keyword subst.
[yaz-moved-to-github.git]
/
test
/
tstsoap2.c
diff --git
a/test/tstsoap2.c
b/test/tstsoap2.c
index
b424ebc
..
b0d2455
100644
(file)
--- a/
test/tstsoap2.c
+++ b/
test/tstsoap2.c
@@
-1,18
+1,16
@@
-/*
- * 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.
* See the file LICENSE for details.
- *
- * $Id: tstsoap2.c,v 1.3 2006-01-29 21:59:13 adam Exp $
*/
#include <stdlib.h>
*/
#include <stdlib.h>
-#if HAVE_XML2
-#include <libxml/parser.h>
-
#include <yaz/test.h>
#include <yaz/srw.h>
#include <yaz/soap.h>
#include <yaz/test.h>
#include <yaz/srw.h>
#include <yaz/soap.h>
+#if YAZ_HAVE_XML2
+#include <libxml/parser.h>
+
static void tst_srw(void)
{
const char *charset = 0;
static void tst_srw(void)
{
const char *charset = 0;
@@
-31,7
+29,7
@@
static void tst_srw(void)
YAZ_CHECK(sr);
YAZ_CHECK(p);
#if 0
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
#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);
int main(int argc, char **argv)
{
YAZ_CHECK_INIT(argc, argv);
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
LIBXML_TEST_VERSION;
tst_srw();
#endif
LIBXML_TEST_VERSION;
tst_srw();
#endif