Beef up test a bit
[yaz-moved-to-github.git] / test / tstsoap1.c
index 2290e83..6d6654f 100644 (file)
@@ -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: tstsoap1.c,v 1.7 2006-07-06 10:17:55 adam Exp $
  */
 
 #include <stdlib.h>
@@ -11,7 +9,7 @@
 #endif
 #include <yaz/test.h>
 
-void tst()
+void tst(void)
 {
 #if YAZ_HAVE_XML2
     xmlChar *buf_out;
@@ -19,7 +17,7 @@ void tst()
     xmlDocPtr doc;
     xmlNodePtr top;
 #if 0
-    const char *val = "jordbær"; /* makes xmlDocDumpMemory hang .. */
+    const char *val = "jordb" "\xe6" "r"; /* makes xmlDocDumpMemory hang .. */
 #else
     const char *val = "jordbaer"; /* OK */
 #endif