summaryrefslogtreecommitdiff
path: root/src/wire-plugins/test_wire_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wire-plugins/test_wire_plugin.c')
-rw-r--r--src/wire-plugins/test_wire_plugin.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/wire-plugins/test_wire_plugin.c b/src/wire-plugins/test_wire_plugin.c
index 0bb7571f..b29962b6 100644
--- a/src/wire-plugins/test_wire_plugin.c
+++ b/src/wire-plugins/test_wire_plugin.c
@@ -164,7 +164,13 @@ main (int argc,
test->currency);
plugin = TALER_WIRE_plugin_load (cfg,
test->plugin_name);
- GNUNET_assert (NULL != plugin);
+ if (NULL == plugin)
+ {
+ TALER_LOG_ERROR ("Could not load plugin `%s'\n",
+ test->plugin_name);
+ return 77;
+ }
+
ret = run_test (test, plugin);
TALER_WIRE_plugin_unload (plugin);
if (GNUNET_OK != ret)