cbData->section = section;
printf ("\nSection: %s\n", section);
}
- printf ("%s = %s\n", option, value);
+ printf ("%s = %s\n", option, abs_value);
#endif
default:
break;
return 1;
}
failureCount += testConfig ();
- failureCount += 2 * testConfigFilenames ();
+ if (failureCount > 0)
+ goto error;
+
+ failureCount = testConfigFilenames ();
+ if (failureCount > 0)
+ goto error;
if (GNUNET_OK != GNUNET_CONFIGURATION_write (cfg, "/tmp/gnunet-test.conf"))
{
GNUNET_CONFIGURATION_destroy (cfgDefault);
+error:
if (failureCount != 0)
{
fprintf (stderr, "Test failed: %u\n", failureCount);