aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_plugin_namestore.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-01 18:40:12 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-01 18:40:12 +0000
commita80719c9dcc140a8ab57feb85bfaf96999d5280c (patch)
tree49e0b13e048ae5d1a1a0cf4e74680356e385f2f3 /src/namestore/test_plugin_namestore.c
parent94bb9ce437b4652c59764e66096b68c20276b7ca (diff)
downloadgnunet-a80719c9dcc140a8ab57feb85bfaf96999d5280c.tar.gz
gnunet-a80719c9dcc140a8ab57feb85bfaf96999d5280c.zip
-LRN: Without this patch namestore tests can't even load the plugin.
With it namestore tests (at least some of them) fail two assertions, and then crash. Not sure which is better.
Diffstat (limited to 'src/namestore/test_plugin_namestore.c')
-rw-r--r--src/namestore/test_plugin_namestore.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/namestore/test_plugin_namestore.c b/src/namestore/test_plugin_namestore.c
index 0b0008ff5..dcf3505c3 100644
--- a/src/namestore/test_plugin_namestore.c
+++ b/src/namestore/test_plugin_namestore.c
@@ -235,8 +235,6 @@ main (int argc, char *argv[])
235 235
236 GNUNET_snprintf (cfg_name, sizeof (cfg_name), "test_plugin_namestore_%s.conf", 236 GNUNET_snprintf (cfg_name, sizeof (cfg_name), "test_plugin_namestore_%s.conf",
237 plugin_name); 237 plugin_name);
238 if (pos != plugin_name)
239 pos[0] = '.';
240 GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, 238 GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv,
241 "test-plugin-namestore", "nohelp", options, &run, NULL); 239 "test-plugin-namestore", "nohelp", options, &run, NULL);
242 if (ok != 0) 240 if (ok != 0)