From: Christian Grothoff Date: Thu, 1 Mar 2012 18:40:12 +0000 (+0000) Subject: -LRN: Without this patch namestore tests can't even load the plugin. X-Git-Tag: initial-import-from-subversion-38251~14507 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a80719c9dcc140a8ab57feb85bfaf96999d5280c;p=oweals%2Fgnunet.git -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. --- 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[]) GNUNET_snprintf (cfg_name, sizeof (cfg_name), "test_plugin_namestore_%s.conf", plugin_name); - if (pos != plugin_name) - pos[0] = '.'; GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, "test-plugin-namestore", "nohelp", options, &run, NULL); if (ok != 0)