[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r18954 - in gnunet/src: arm datacache datastore fs util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r18954 - in gnunet/src: arm datacache datastore fs util |
Date: |
Tue, 3 Jan 2012 14:34:45 +0100 |
Author: grothoff
Date: 2012-01-03 14:34:45 +0100 (Tue, 03 Jan 2012)
New Revision: 18954
Modified:
gnunet/src/arm/test_gnunet_service_manager.c
gnunet/src/datacache/test_datacache.c
gnunet/src/datastore/test_plugin_datastore.c
gnunet/src/fs/test_fs_file_information.c
gnunet/src/util/test_resolver_api.c
Log:
-fixing compile errors in tests
Modified: gnunet/src/arm/test_gnunet_service_manager.c
===================================================================
--- gnunet/src/arm/test_gnunet_service_manager.c 2012-01-03 12:30:05 UTC
(rev 18953)
+++ gnunet/src/arm/test_gnunet_service_manager.c 2012-01-03 13:34:45 UTC
(rev 18954)
@@ -162,7 +162,7 @@
GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK,
"gethostname");
FPRINTF (stderr,
- "Failed to determine my own hostname, testcase not run.\n",
NULL);
+ "%s", "Failed to determine my own hostname, testcase not
run.\n");
return 0;
}
if (NULL == gethostbyname (hostname))
Modified: gnunet/src/datacache/test_datacache.c
===================================================================
--- gnunet/src/datacache/test_datacache.c 2012-01-03 12:30:05 UTC (rev
18953)
+++ gnunet/src/datacache/test_datacache.c 2012-01-03 13:34:45 UTC (rev
18954)
@@ -72,7 +72,8 @@
if (h == NULL)
{
FPRINTF (stderr,
- "Failed to initialize datacache. Database likely not setup,
skipping test.\n", NULL);
+ "%s",
+ "Failed to initialize datacache. Database likely not setup,
skipping test.\n");
return;
}
exp = GNUNET_TIME_absolute_get ();
Modified: gnunet/src/datastore/test_plugin_datastore.c
===================================================================
--- gnunet/src/datastore/test_plugin_datastore.c 2012-01-03 12:30:05 UTC
(rev 18953)
+++ gnunet/src/datastore/test_plugin_datastore.c 2012-01-03 13:34:45 UTC
(rev 18954)
@@ -344,7 +344,7 @@
if (api == NULL)
{
FPRINTF (stderr,
- "Could not initialize plugin, assuming database not configured.
Test not run!\n", NULL);
+ "%s", "Could not initialize plugin, assuming database not
configured. Test not run!\n");
return;
}
crc = GNUNET_malloc (sizeof (struct CpsRunContext));
Modified: gnunet/src/fs/test_fs_file_information.c
===================================================================
--- gnunet/src/fs/test_fs_file_information.c 2012-01-03 12:30:05 UTC (rev
18953)
+++ gnunet/src/fs/test_fs_file_information.c 2012-01-03 13:34:45 UTC (rev
18954)
@@ -152,7 +152,8 @@
if (ex == NULL)
{
FPRINTF (stderr,
- "Test incomplete, have no GTK thumbnail extractor available.\n",
NULL);
+ "%s",
+ "Test incomplete, have no GTK thumbnail extractor available.\n");
return 0; /* can not test, no thumbnailer */
}
ex = EXTRACTOR_plugin_add_config (ex, "mime",
Modified: gnunet/src/util/test_resolver_api.c
===================================================================
--- gnunet/src/util/test_resolver_api.c 2012-01-03 12:30:05 UTC (rev 18953)
+++ gnunet/src/util/test_resolver_api.c 2012-01-03 13:34:45 UTC (rev 18954)
@@ -265,7 +265,7 @@
hstrerror (h_errno));
#endif
FPRINTF (stderr,
- "System seems to be off-line, will not run all DNS tests\n",
NULL);
+ "%s", "System seems to be off-line, will not run all DNS
tests\n");
*ok = 0; /* mark test as passing anyway */
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r18954 - in gnunet/src: arm datacache datastore fs util,
gnunet <=