diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-11-04 13:37:19 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-11-04 13:37:19 +0000 |
commit | 286acfb0eeb46b4860f0341daf86bba73e653ff3 (patch) | |
tree | f3817d454f8c32134af6317213cd3148916faf2e /src/util/test_plugin.c | |
parent | e5dcb2c88a09cb0fd23b37e8f5c623187a3080b5 (diff) |
cov fix
git-svn-id: https://gnunet.org/svn/gnunet@17987 140774ce-b5e7-0310-ab8b-a85725594a96
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 dc34841f55..bfa3cf1108 100644 --- a/src/util/test_plugin.c +++ b/src/util/test_plugin.c @@ -31,9 +31,13 @@ test_cb (void *cls, const char *libname, void *lib_ret) { + void *ret; + GNUNET_assert (0 == strcmp (cls, "test")); GNUNET_assert (0 == strcmp (lib_ret, "Hello")); - GNUNET_assert (0 == strcmp (GNUNET_PLUGIN_unload (libname, "out"), "World")); + ret = GNUNET_PLUGIN_unload (libname, "out"); + GNUNET_assert (NULL != ret); + GNUNET_assert (0 == strcmp (ret, "World")); } |