new timeout tests for WLAN and bluetooth
[oweals/gnunet.git] / src / statistics / test_statistics_api_loop.c
index f9a3a3ba64d8b3c591ca883115d5a275caaef8ff..7a7b44c1fc43725cbdff09df645cb7055b44224a 100644 (file)
@@ -93,7 +93,7 @@ main (int argc, char *argv_ign[])
 
   binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics");
   proc =
-    GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, 
+    GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
                             NULL, NULL,
                             binary,
                             "gnunet-service-statistics",
@@ -101,7 +101,7 @@ main (int argc, char *argv_ign[])
   GNUNET_assert (NULL != proc);
   GNUNET_PROGRAM_run (3, argv, "test-statistics-api", "nohelp", options, &run,
                       &ok);
-  if (0 != GNUNET_OS_process_kill (proc, SIGTERM))
+  if (0 != GNUNET_OS_process_kill (proc, GNUNET_TERM_SIG))
   {
     GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
     ok = 1;