aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_program.c')
-rw-r--r--src/util/test_program.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/util/test_program.c b/src/util/test_program.c
index 0ff49b81e..faeb4e716 100644
--- a/src/util/test_program.c
+++ b/src/util/test_program.c
@@ -58,7 +58,7 @@ static struct GNUNET_GETOPT_CommandLineOption options4[] = {
58 58
59static void 59static void
60runner (void *cls, char *const *args, const char *cfgfile, 60runner (void *cls, char *const *args, const char *cfgfile,
61 const struct GNUNET_CONFIGURATION_Handle *cfg) 61 const struct GNUNET_CONFIGURATION_Handle *cfg)
62{ 62{
63 int *ok = cls; 63 int *ok = cls;
64 64
@@ -91,18 +91,18 @@ check ()
91 }; 91 };
92 92
93 GNUNET_assert (GNUNET_OK == 93 GNUNET_assert (GNUNET_OK ==
94 GNUNET_PROGRAM_run (7, argv, "test_program", "A test", 94 GNUNET_PROGRAM_run (7, argv, "test_program", "A test",
95 options1, &runner, &ok)); 95 options1, &runner, &ok));
96 96
97 GNUNET_assert (GNUNET_OK == 97 GNUNET_assert (GNUNET_OK ==
98 GNUNET_PROGRAM_run (7, argv, "test_program", "A test", 98 GNUNET_PROGRAM_run (7, argv, "test_program", "A test",
99 options2, &runner, &ok)); 99 options2, &runner, &ok));
100 GNUNET_assert (GNUNET_OK == 100 GNUNET_assert (GNUNET_OK ==
101 GNUNET_PROGRAM_run (7, argv, "test_program", "A test", 101 GNUNET_PROGRAM_run (7, argv, "test_program", "A test",
102 options3, &runner, &ok)); 102 options3, &runner, &ok));
103 GNUNET_assert (GNUNET_OK == 103 GNUNET_assert (GNUNET_OK ==
104 GNUNET_PROGRAM_run (7, argv, "test_program", "A test", 104 GNUNET_PROGRAM_run (7, argv, "test_program", "A test",
105 options4, &runner, &ok)); 105 options4, &runner, &ok));
106 106
107 return ok; 107 return ok;
108} 108}