summaryrefslogtreecommitdiff
path: root/src/testing/test_testing_api_cmd_netjail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_testing_api_cmd_netjail.c')
-rw-r--r--src/testing/test_testing_api_cmd_netjail.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/testing/test_testing_api_cmd_netjail.c b/src/testing/test_testing_api_cmd_netjail.c
index 543642109..aeddfb7c9 100644
--- a/src/testing/test_testing_api_cmd_netjail.c
+++ b/src/testing/test_testing_api_cmd_netjail.c
@@ -29,6 +29,13 @@
/**
+ * Return value of the test.
+ *
+ */
+static unsigned int rv = 0;
+
+
+/**
* Main function to run the test cases.
*
* @param cls not used.
@@ -44,7 +51,8 @@ run (void *cls)
GNUNET_TESTING_cmd_netjail_start_testing_system ("netjail-start-testbed-1",
"2",
"2",
- "libgnunet_plugin_testcmd"),
+ "libgnunet_plugin_testcmd",
+ &rv),
GNUNET_TESTING_cmd_stop_testing_system ("stop-testbed",
"netjail-start-testbed-1",
"2",