[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 05/06: use and purge alternate db when tes
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 05/06: use and purge alternate db when testing against python bank |
Date: |
Tue, 16 May 2017 11:05:16 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 9916eef3dbb22ba0be8268d0e8bfa6ca5372d756
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon May 15 22:02:21 2017 +0200
use and purge alternate db when testing against python bank
---
src/bank-lib/test_bank_api.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/bank-lib/test_bank_api.c b/src/bank-lib/test_bank_api.c
index 131d655..850b25f 100644
--- a/src/bank-lib/test_bank_api.c
+++ b/src/bank-lib/test_bank_api.c
@@ -124,11 +124,20 @@ main (int argc,
GNUNET_log_setup ("test-bank-api",
"WARNING",
NULL);
+
+ if (0 != system ("taler-bank-manage --with-db=postgres:///talercheck django
flush --no-input"))
+ {
+ fprintf (stderr,
+ "Could not purge database 'talercheck'\n");
+ return 77;
+ }
+
bankd = GNUNET_OS_start_process (GNUNET_NO,
GNUNET_OS_INHERIT_STD_ALL,
NULL, NULL, NULL,
"taler-bank-manage",
"taler-bank-manage",
+ "--with-db", "postgres:///talercheck",
"serve-http",
"--port", "8080",
NULL);
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-exchange] branch master updated (cddce0f -> 82cec70), gnunet, 2017/05/16
- [GNUnet-SVN] [taler-exchange] 03/06: handle base32-wire transfer subject being followed by space+exchange base url in wire plugin and fakebank, gnunet, 2017/05/16
- [GNUnet-SVN] [taler-exchange] 02/06: fix port numbers, no longer 8081 but on 8080; and box json array /history response in {data} as required by API, gnunet, 2017/05/16
- [GNUnet-SVN] [taler-exchange] 01/06: take the history array from "data" field returned by the bank, gnunet, 2017/05/16
- [GNUnet-SVN] [taler-exchange] 06/06: nicer error reporting, gnunet, 2017/05/16
- [GNUnet-SVN] [taler-exchange] 05/06: use and purge alternate db when testing against python bank,
gnunet <=
- [GNUnet-SVN] [taler-exchange] 04/06: start_row is actually start in the spec, fix naming, gnunet, 2017/05/16