aboutsummaryrefslogtreecommitdiff
path: root/src/ats/test_ats_api_scheduling.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/test_ats_api_scheduling.c')
-rw-r--r--src/ats/test_ats_api_scheduling.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/ats/test_ats_api_scheduling.c b/src/ats/test_ats_api_scheduling.c
index 892186c..c9d2206 100644
--- a/src/ats/test_ats_api_scheduling.c
+++ b/src/ats/test_ats_api_scheduling.c
@@ -34,10 +34,6 @@
#include "gnunet_ats_service.h"
#include "ats.h"
-#define VERBOSE GNUNET_NO
-
-#define VERBOSE_ARM GNUNET_NO
-
#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10)
static GNUNET_SCHEDULER_TaskIdentifier die_task;
@@ -81,7 +77,7 @@ stop_arm ()
if (0 != GNUNET_OS_process_kill (arm_proc, SIGTERM))
GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
GNUNET_OS_process_wait (arm_proc);
- GNUNET_OS_process_close (arm_proc);
+ GNUNET_OS_process_destroy (arm_proc);
arm_proc = NULL;
}
@@ -158,9 +154,6 @@ start_arm (const char *cfgname)
arm_proc =
GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm",
"gnunet-service-arm",
-#if VERBOSE_ARM
- "-L", "DEBUG",
-#endif
"-c", cfgname, NULL);
}
@@ -241,11 +234,7 @@ main (int argc, char *argv[])
static char *const argv2[] = { "test_ats_api_scheduling",
"-c",
"test_ats_api.conf",
-#if VERBOSE
- "-L", "DEBUG",
-#else
"-L", "WARNING",
-#endif
NULL
};