-LRN: Without this patch namestore tests can't even load the plugin.
authorChristian Grothoff <christian@grothoff.org>
Thu, 1 Mar 2012 18:40:12 +0000 (18:40 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 1 Mar 2012 18:40:12 +0000 (18:40 +0000)
With it namestore tests (at least some of them) fail two assertions,
and then crash. Not sure which is better.

src/namestore/test_plugin_namestore.c

index 0b0008ff5e309ea94238438c6bc94e253200077d..dcf3505c39a75b1c089bc322a78c75e9163c93da 100644 (file)
@@ -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)