diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-04 13:37:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-04 13:37:19 +0000 |
commit | 3ef47bd5ce7f3ece36230f5132a694436cd9480a (patch) | |
tree | f3817d454f8c32134af6317213cd3148916faf2e /src/util/test_plugin.c | |
parent | 100a8dd7cba6252af188a2812cbf94325aa4e373 (diff) | |
download | gnunet-3ef47bd5ce7f3ece36230f5132a694436cd9480a.tar.gz gnunet-3ef47bd5ce7f3ece36230f5132a694436cd9480a.zip |
cov fix
Diffstat (limited to 'src/util/test_plugin.c')
-rw-r--r-- | src/util/test_plugin.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/test_plugin.c b/src/util/test_plugin.c index dc34841f5..bfa3cf110 100644 --- a/src/util/test_plugin.c +++ b/src/util/test_plugin.c | |||
@@ -31,9 +31,13 @@ test_cb (void *cls, | |||
31 | const char *libname, | 31 | const char *libname, |
32 | void *lib_ret) | 32 | void *lib_ret) |
33 | { | 33 | { |
34 | void *ret; | ||
35 | |||
34 | GNUNET_assert (0 == strcmp (cls, "test")); | 36 | GNUNET_assert (0 == strcmp (cls, "test")); |
35 | GNUNET_assert (0 == strcmp (lib_ret, "Hello")); | 37 | GNUNET_assert (0 == strcmp (lib_ret, "Hello")); |
36 | GNUNET_assert (0 == strcmp (GNUNET_PLUGIN_unload (libname, "out"), "World")); | 38 | ret = GNUNET_PLUGIN_unload (libname, "out"); |
39 | GNUNET_assert (NULL != ret); | ||
40 | GNUNET_assert (0 == strcmp (ret, "World")); | ||
37 | } | 41 | } |
38 | 42 | ||
39 | 43 | ||