- GNUNET_TESTING_system_create ("testbed-helper", trusted_ip, hostname, NULL);
+ GNUNET_TESTING_system_create ("testbed-helper", trusted_ip, hostname,
+ NULL);
+ if (NULL != evstr)
+ {
+#ifdef WINDOWS
+ GNUNET_assert (0 != SetEnvironmentVariable (GNUNET_TESTING_PREFIX, evstr));
+#else
+ static char evar[2* PATH_MAX];
+
+ GNUNET_assert (0 < GNUNET_snprintf (evar, sizeof (evar),
+ GNUNET_TESTING_PREFIX "=%s", evstr));
+ putenv (evar);
+#endif
+ GNUNET_free (evstr);
+ evstr = NULL;
+ }