-static int
-check ()
-{
- int ok = 1;
-
- char *const argv[] = { "test-nse-api",
- "-c",
- "test_nse.conf",
- "-L", "WARNING",
- NULL
- };
- struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_END
- };
-
- GNUNET_PROGRAM_run (5, argv, "test-nse-api", "nohelp", options, &run, &ok);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping arm.\n");
- stop_arm (&p1);
- if (0 != ok)
- FPRINTF (stderr, "%s", "No information received from NSE service!\n");
- return ok;
-}
-
-