aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/testing/test_testing_peerstartup.c3
-rw-r--r--src/testing/test_testing_portreservation.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/testing/test_testing_peerstartup.c b/src/testing/test_testing_peerstartup.c
index 1de3d5b35..9d3c0bb54 100644
--- a/src/testing/test_testing_peerstartup.c
+++ b/src/testing/test_testing_peerstartup.c
@@ -129,13 +129,14 @@ int main (int argc, char *argv[])
129 GNUNET_GETOPT_OPTION_END 129 GNUNET_GETOPT_OPTION_END
130 }; 130 };
131 131
132 status = GNUNET_SYSERR;
132 if (GNUNET_OK != 133 if (GNUNET_OK !=
133 GNUNET_PROGRAM_run (argc, argv, 134 GNUNET_PROGRAM_run (argc, argv,
134 "test_testing_new_peerstartup", 135 "test_testing_new_peerstartup",
135 "test case for peerstartup using new testing library", 136 "test case for peerstartup using new testing library",
136 options, &run, NULL)) 137 options, &run, NULL))
137 return 1; 138 return 1;
138 return 0; 139 return (GNUNET_OK == status) ? 0 : 1;
139} 140}
140 141
141/* end of test_testing_peerstartup.c */ 142/* end of test_testing_peerstartup.c */
diff --git a/src/testing/test_testing_portreservation.c b/src/testing/test_testing_portreservation.c
index 9a69916fa..98690fc1c 100644
--- a/src/testing/test_testing_portreservation.c
+++ b/src/testing/test_testing_portreservation.c
@@ -96,9 +96,7 @@ int main (int argc, char *argv[])
96 options, 96 options,
97 &run, 97 &run,
98 NULL)) 98 NULL))
99 {
100 return 1; 99 return 1;
101 }
102 return (GNUNET_OK == status) ? 0 : 1; 100 return (GNUNET_OK == status) ? 0 : 1;
103} 101}
104 102