From 8ae03a690b9695e6edf12e6be4895248408cfd7e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 21 Sep 2015 15:45:03 +0200 Subject: [PATCH] here we want 'yes' --- src/mint-lib/test-mint-home/config/mint-common.conf | 4 ++-- src/mint/test_taler_mint_httpd_afl.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mint-lib/test-mint-home/config/mint-common.conf b/src/mint-lib/test-mint-home/config/mint-common.conf index 5bf7f730e..b2b948268 100644 --- a/src/mint-lib/test-mint-home/config/mint-common.conf +++ b/src/mint-lib/test-mint-home/config/mint-common.conf @@ -16,8 +16,8 @@ MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG # How to access our database DB = postgres -# This is a testcase, use transient DB actions -TESTRUN = NO +# Is this is a testcase, use transient DB actions? +TESTRUN = YES [mintdb-postgres] diff --git a/src/mint/test_taler_mint_httpd_afl.sh b/src/mint/test_taler_mint_httpd_afl.sh index a5ae081e7..bbcf8edbf 100755 --- a/src/mint/test_taler_mint_httpd_afl.sh +++ b/src/mint/test_taler_mint_httpd_afl.sh @@ -23,6 +23,8 @@ # # Setup keys. taler-mint-keyup -d test-mint-home -m test-mint-home/master.priv +# Setup database (just to be sure) +taler-mint-dbinit -d test-mint-home &> /dev/null || true # Only log hard errors, we expect lots of warnings... export GNUNET_FORCE_LOG="taler-mint-httpd;;;;ERROR/libmicrohttpd;;;;ERROR/" # Run test...