commit 50cd5ee09859467ed0f37914f058008441cf8fbe
parent 7385b9f7baeeb2b1023bc869b7adace9dae3f896
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 20 Nov 2024 15:17:32 +0100
fix donau ftbfs
Diffstat:
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/donaudb/test-donau-db-postgres.conf b/src/donaudb/test-donau-db-postgres.conf
@@ -1,5 +1,6 @@
[donau]
#The DB plugin to use
+CURRENCY = EUR
DB = postgres
BASE_URL = http://localhost/
@@ -13,8 +14,5 @@ CONFIG = postgres:///donaucheck
# Where are the SQL files to setup our tables?
SQL_DIR = $DATADIR/sql/donau/
-[taler]
-CURRENCY = EUR
-
[donaudb]
diff --git a/src/donaudb/test_donaudb.c b/src/donaudb/test_donaudb.c
@@ -18,9 +18,10 @@
* @brief test cases for DB interaction functions
* @author Johannes Casaburi
*/
-#include <donau_config.h>
+#include "donau_config.h"
#include <taler/taler_json_lib.h>
#include "donaudb_lib.h"
+#include "donau_util.h"
#include "donaudb_plugin.h"
/**
@@ -390,7 +391,6 @@ main (int argc,
GNUNET_break (0);
return -1;
}
- DONAU_OS_init ();
GNUNET_log_setup (argv[0],
"WARNING",
NULL);
@@ -401,7 +401,7 @@ main (int argc,
(void) GNUNET_asprintf (&config_filename,
"%s.conf",
testname);
- cfg = GNUNET_CONFIGURATION_create ();
+ cfg = GNUNET_CONFIGURATION_create (DONAU_project_data ());
if (GNUNET_OK !=
GNUNET_CONFIGURATION_parse (cfg,
config_filename))