36 const char *conf_name;
43 if (0 == strcmp (
"000000", dash))
44 conf_name =
"test_arm_probnat_host.conf";
45 else if (0 == strcmp (
"000003", dash))
46 conf_name =
"test_arm_probnat_peer1.conf";
47 else if (0 == strcmp (
"000006", dash))
48 conf_name =
"test_arm_probnat_peer1.conf";
52 "Getting conf for id %s failed \n",
static const char * my_node_id
struct GNUNET_TESTING_Command GNUNET_TESTING_cmd_stop_peer(const char *label, const char *start_label)
Create command.
struct GNUNET_TESTING_Command GNUNET_TESTING_ARM_cmd_start_peer(const char *label, const char *system_label, const char *cfgname)
Create command.
struct GNUNET_TESTING_Command GNUNET_TESTING_cmd_exec_va(const char *label, enum GNUNET_OS_ProcessStatusType expected_type, unsigned long int expected_exit_code,...)
Command to execute a command.
#define GNUNET_TESTING_MAKE_PLUGIN(prefix, name,...)
struct GNUNET_TESTING_Command GNUNET_TESTBED_cmd_system_create(const char *label, const char *my_node_id)
This command is setting up a test environment for a peer to start.
#define GNUNET_log(kind,...)
#define GNUNET_assert(cond)
Use this for fatal errors that cannot be handled.
@ GNUNET_ERROR_TYPE_ERROR
@ GNUNET_ERROR_TYPE_DEBUG
@ GNUNET_OS_PROCESS_EXITED
The process exited with a return code.
static const char * get_conf_name(const char *my_node_id)