aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_program.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-11 09:43:04 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-11 09:43:04 +0000
commitd9d94d0e53d26af75ec8241383d166544ebd79f3 (patch)
tree9080b73624389403a198257fe0547bb4634e64d2 /src/util/test_program.c
parent2d792ee2e9cc0c993b8907e2c8edb0c2b8465343 (diff)
downloadgnunet-d9d94d0e53d26af75ec8241383d166544ebd79f3.tar.gz
gnunet-d9d94d0e53d26af75ec8241383d166544ebd79f3.zip
converting to GNUNET_LOG_from*
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 faeb4e716..0ff49b81e 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}