-detect tunnel creation error
[oweals/gnunet.git] / src / conversation / test_conversation_api.c
index 7860eb794887e91a30ddb33e0a58bf1a4f920e70..af2ff75e4ca8c5420ffff756c56503f783f2ccc5 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C)
+     (C) 2013 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
      Boston, MA 02111-1307, USA.
 */
 /**
- * @file src/test_conversation_api.c
+ * @file conversation/test_conversation_api.c
  * @brief testcase for conversation_api.c
  */
-#include <gnunet/platform.h>
-#include <gnunet/gnunet_util_lib.h>
+#include "platform.h"
+#include "gnunet_util_lib.h"
 #include "gnunet_conversation_service.h"
 
 
@@ -50,8 +50,8 @@ check ()
   char *path = GNUNET_OS_get_libexec_binary_path ( "gnunet-service-conversation");
   if (NULL == path)
   {
-               fprintf (stderr, "Service executable not found `%s'\n", "gnunet-service-conversation");
-               return;
+    fprintf (stderr, "Service executable not found `%s'\n", "gnunet-service-conversation");
+    return 0;
   }
   proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_ALL, NULL, NULL,
                                path,