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
Fix two tests. Add new
[yaz-moved-to-github.git]
/
test
/
test_soap1.c
diff --git
a/test/test_soap1.c
b/test/test_soap1.c
index
eb2ba11
..
d9b6873
100644
(file)
--- a/
test/test_soap1.c
+++ b/
test/test_soap1.c
@@
-1,7
+1,10
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#if YAZ_HAVE_XML2
#include <stdlib.h>
#if YAZ_HAVE_XML2
@@
-26,10
+29,10
@@
void tst(void)
top = xmlNewNode(0, BAD_CAST "top");
YAZ_CHECK(top);
top = xmlNewNode(0, BAD_CAST "top");
YAZ_CHECK(top);
-
+
xmlNewTextChild(top, 0, BAD_CAST "sub", BAD_CAST val);
xmlDocSetRootElement(doc, top);
xmlNewTextChild(top, 0, BAD_CAST "sub", BAD_CAST val);
xmlDocSetRootElement(doc, top);
-
+
xmlDocDumpMemory(doc, &buf_out, &len_out);
#if 0
printf("%*s", len_out, buf_out);
xmlDocDumpMemory(doc, &buf_out, &len_out);
#if 0
printf("%*s", len_out, buf_out);