[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libfints] 03/03: Tests.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libfints] 03/03: Tests. |
Date: |
Fri, 12 Oct 2018 09:55:35 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libfints.
commit cf04ea231b9f2b9bad3d60156a14e4312dda9791
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Oct 12 09:54:37 2018 +0200
Tests.
Adapt to pass key directory as a parameter to init-lib.
---
src/tests.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/tests.c b/src/tests.c
index 5a839e2..64a63b5 100644
--- a/src/tests.c
+++ b/src/tests.c
@@ -54,10 +54,20 @@ struct EBICS_ARGS_build_content_ini ini_args = {
int
main (int argc, char **argv)
{
+ #define KEYS_DIR "./test_keys"
+
unsetenv ("XDG_DATA_HOME");
unsetenv ("XDG_CONFIG_HOME");
- if (EBICS_SUCCESS != EBICS_init_library ())
+ const char *key_filenames[] = {
+ "testAuthKey",
+ "testEncKey",
+ "testSigKey",
+ NULL
+ };
+
+ if (EBICS_SUCCESS != EBICS_init_library (KEYS_DIR,
+ key_filenames))
{
LOG (EBICS_FATAL,
"no init lib");
--
To stop receiving notification emails like this one, please contact
address@hidden